-
Notifications
You must be signed in to change notification settings - Fork 49.1k
Closed
Labels
Description
Repro: https://jsbin.com/gebasa/3/edit?js,output
Given:
<input
disabled={true}
type="checkbox"
checked={trueOrFalse}
onChange={alert}
/>
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.