-
Notifications
You must be signed in to change notification settings - Fork 47.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onChange
event on radio
#8727
Comments
@yankouskia React special cases Now, that said, this is still unexpected behavior since the radio input's value isn't changed. This was already reported in #1471 and resolved in #5746. But #5746 has not been released yet. We're hoping to get it released soon thanks to the backport PR opened at #8575 tl;dr: we normalize input events in general, but this radio input behavior is wrong and already fixed. We're working on getting it released 👍 |
@aweary , thank you! 👍 |
@aweary the lastest version 15.4.2 does not seem to fix the bug ,how to solve the old version of it? |
Could you please, explain this behaviour?
Here: https://jsfiddle.net/69z2wepo/67116/ - clicking on radio
always
emitsonClick
andonChange
eventsHere is example without
React
: https://jsfiddle.net/8mnjtt8w/4/ - clicking on radio emits onlyonClick
event.Thank you!
The text was updated successfully, but these errors were encountered: