-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(menu): use react.context and simplify logic (#13146)
* refactor(menu): use react.context and simplify logic * test(menu): fix test * fix(menu): fix typo * fix(menu): fix MenuItemSelectable function name * fix(menu): combine adhacent conditional rendering blocks * refactor(menu): add dummy 'dispatch' to menuDefaultState * fix(menu): clear list of registered items when menu is closed * fix(menu): prevent calling 'handleClose' twice * fix(menu): fix focus return * docs(menu): fix ContextMenu story actions * fix(menu): close overflowmenuv2 on blur --------- Co-authored-by: Francine Lucca <[email protected]>
- Loading branch information
1 parent
1cf8fa7
commit a5d3821
Showing
22 changed files
with
1,002 additions
and
1,504 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
Oops, something went wrong.