Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab / arrow key navigation in a dialog #1644

Closed
rudicus opened this issue Sep 14, 2015 · 5 comments
Closed

Tab / arrow key navigation in a dialog #1644

rudicus opened this issue Sep 14, 2015 · 5 comments
Labels
bug 🐛 Something doesn't work

Comments

@rudicus
Copy link

rudicus commented Sep 14, 2015

Hi,

I was wondering if it is possible to use keyboard (tab / arrow key) navigation inside a modal dialog and not have it "bubble up" beyond the dialog.

Currently when I open a dialog with modal set it true, and attempt to use the tab key to navigate between elements, it still gives focus to elements outside of the dialog. Is this something I need to add handlers for specifically on any dialog I have?

Thanks,

Matt

@alitaheri alitaheri added the bug 🐛 Something doesn't work label Dec 8, 2015
@bblumberg
Copy link

This is a pretty significant bug for us. Looking at the code it looks like something got implemented part way and then whomever ran out of steam...

That said. you all have come a huge way in the last 6 months. Congrats and thanks!

@willemx
Copy link

willemx commented Feb 23, 2016

Also running into this problem.
Is there perhaps some way to force the first dialog element getting the focus when opening the dialog?

@mkxml
Copy link

mkxml commented Mar 3, 2016

I'm also having this problem, I think we should implement a more accessible solution like react-modal

@rob2d
Copy link

rob2d commented Mar 8, 2016

Any updates on it? Have tried various things and not having any luck :/

@tintin1343
Copy link
Contributor

Potential Duplicate of: #156

Closing this.

mnajdova pushed a commit to mnajdova/material-ui that referenced this issue Nov 10, 2020
Bumps [husky](https://github.com/typicode/husky) from 4.2.3 to 4.2.5.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](typicode/husky@v4.2.3...v4.2.5)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work
Projects
None yet
Development

No branches or pull requests

7 participants