-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix checkbox event edge case in Firefox
- Loading branch information
Showing
2 changed files
with
47 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1868561
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect that this commit broke a special scenario I was using on an app:
Until [email protected] worked as expected (radio didn't change)
From [email protected] until latest 2.x version the checked property changes even if the bound store value not
For the moment I'll use [email protected] and won't update further.
I also know that change event it's not cancel-able, so maybe I'd have to use click event in this case (a little bit more complicated as the logic it's on data level and not UI, but doable)
1868561
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the notes about nextTick changes in the 2.6.0 release should help you understand
1868561
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've understood, but in this case the bound property is out of sync: the checked element on the UI doesn't reflect store data
1868561
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will be able to find similar (closed) issues about checkboxes