This repository has been archived by the owner on Oct 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(OverflowMenu): add arrow key navigation (#1822)
* refactor(OverflowMenu): use keycode matching util functions * refactor(OverflowMenuItem): refactor to class component for ref access * feat(OverflowMenu): add arrow key navigation * fix(OverflowMenuItem): avoid spreading invalid attributes * feat(OverflowMenu): focus on first menu item on menu open * docs(OverflowMenu): avoid redundant prop value * fix(OverflowMenuItem): disallow tab key navigation * fix(OverflowMenu): close menu on blur * docs(OverflowMenu): add additional menu to test keyboard navigation * fix(OverflowMenu): prevent blur handler is menu is floating
- Loading branch information
Showing
3 changed files
with
280 additions
and
180 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.