Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create mouseHandled flag per instance instead of globally. Fixes #886…
…6 - Menu: select event not firing due to mouseHandled flag reset bug
- Loading branch information
Showing
1 changed file
with
4 additions
and
5 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
5143b7f
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.
Thanks. Could you also add a comment or two to document why this is needed?
5143b7f
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 this could be useful for this issue too: http://bugs.jqueryui.com/ticket/8929
5143b7f
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.
@fnagel it landed in master - could you merge and test with selectmenu?
5143b7f
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.
@jzaefferer Perhaps its possible to remove the custom delay and use the flas var directly. I will give it a try this weekend!
5143b7f
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.
@jzaefferer No, that did not work. Without changing the delay for the blur method the class on the active item will always be removed. We would need a way to handle the focus within Selectmenu.