Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Add focus trapping to mdl-temporary-drawer #1

Closed
traviskaufman opened this issue Dec 5, 2016 · 1 comment
Closed

Add focus trapping to mdl-temporary-drawer #1

traviskaufman opened this issue Dec 5, 2016 · 1 comment
Labels

Comments

@traviskaufman
Copy link
Contributor

It seems we forgot to do focus trapping while the drawer is open, as we do for mdl-simple-menu. We should refactor out the focus trapping code and use it across both components.

@traviskaufman FYI.

Copied from google/material-design-lite#4950

@sgomes
Copy link
Contributor

sgomes commented Dec 19, 2016

Superseded by #70.

@sgomes sgomes closed this as completed Dec 19, 2016
gitbook-legacy bot pushed a commit to kittyjumbalaya/material-components-web that referenced this issue May 5, 2017
Add a callback property that is called whenever the MenuItem focus is changed.

Sometimes it will be called when the focus isn't changed.  For example:
* If top menu item is keyboard focused (call material-components#1) and then the up arrow is pressed (call material-components#2).
* If some menu item is keyboard focused (call material-components#1) and then that same menu item is clicked (call material-components#2).
gitbook-legacy bot pushed a commit to kittyjumbalaya/material-components-web that referenced this issue May 5, 2017
Allow input to accept a string or a number
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants