-
Notifications
You must be signed in to change notification settings - Fork 47.1k
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
IE11 block change events if disabled #4457
Comments
I think we already have some logic to disable this for buttons, should be doable. |
What's the status on this? Experienced the same issue today using React v.0.13.3 in IE11. |
I am also experiencing this disabled double-click checkbox behavior in React 0.14.3 and IE11, 10, 9. https://jsbin.com/mezujo/edit?html,js,output |
Just a short update that this is still an issue in react 15.0.1 . So if you want to disable double clicks in IE on checkboxes a workaround is the one mentioned by @brigand above. Thank you! |
PRs welcomed. |
I'm still experiencing this issue on v15.5.4 using radio inputs. What version was this fixed on? |
Repro: https://jsbin.com/gebasa/3/edit?js,output
Given:
On at least IE11 a double click on checkbox causes onChange to be called. If it's just adding an if statement, normalizing this would be nice. It may also affect other elements/events like
<button disabled onClick={f}>
, misc screen readers, etc.Workaround: duplicate the disabled boolean logic in the handler.
The report was from sim1234 on IRC and verified by phi0x.
The text was updated successfully, but these errors were encountered: