-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(menu): recompute index before marking selection
Fixed issues with changing menu contents in menus with selectable items. Marking selected items in a menu is deferred until the menu closes, so if the menu contents change before the callback is executed, the wrong item can be marked in the DOM.
- Loading branch information
1 parent
4c4342d
commit 33b9554
Showing
2 changed files
with
28 additions
and
2 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