You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In IE11, when a checkbox is indeterminate and then clicked, it goes to unchecked. For this transition, the 'changed' event is not fired, so the update functions are not run, leaving the tree in an incorrect state.
Thanks for the detailed bug report. Looks like this is a bug in MS IE11 where going from indeterminate state doesn't fire the changed event. The bug has been around since 2014 apparently...
Without relying on the browsers builtin UI functinoality to handle firing events, one would need to add events to click (...and technically space bar keypresses) in order to handle the change even manually.
Whenever I find myself targeting IE, it's usually to put up a red banner across the top of the screen indicating that their browser is causing significant harm to the web and they should choose opera, chrome, or firefox as alternatives...
But if you're up for doing a browser check (don't worry about feature checking, lol) and a func to see if the checkbox was just clicked and reports a state of indeterminate (and then invoke the function bound to onchange), feel free to push it up and I'll graciously accept the contribution :)
In IE11, when a checkbox is indeterminate and then clicked, it goes to unchecked. For this transition, the 'changed' event is not fired, so the update functions are not run, leaving the tree in an incorrect state.
The results is that 'Giants' is unchecked, one child ('Andre') is unchecked and another child is checked.
Edit: Also, thanks for the great example :)
The text was updated successfully, but these errors were encountered: