-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(menu): prepare menu to support md-select
Prepare menu to support md-select by doing the following: - Export default values for typeahead configs - Allow setting the role of the menu - Support spaces in typeahead - Make the typeahead controller public so that one can bind it to another node - Listen to keydown events on capture rather than bubble - Allow disabling typeahead with events to prevent submenu typeahead clashes - Fire opening and closing events synchronously on quick = true - Fix focus restoration timing as it would fight with setting custom focus on items - Fix bug with `onWindowClick` not cleaning up - Add `focus()` as mart of the menuitem api - Prevent typeahead from messing with focus and leave that to the menu/list PiperOrigin-RevId: 516640007
- Loading branch information
1 parent
d005d72
commit 193b220
Showing
6 changed files
with
122 additions
and
40 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
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
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.