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

Modal does not receive focus #995

Closed
w33ble opened this issue Jul 10, 2018 · 1 comment
Closed

Modal does not receive focus #995

w33ble opened this issue Jul 10, 2018 · 1 comment

Comments

@w33ble
Copy link
Contributor

w33ble commented Jul 10, 2018

When modals show up, they don't get focus by default, so none of the keyboard controls work. You either have to click inside the modal somewhere to focus it, or tab into it.

The confirmation modal at least has a workaround where you can use defaultFocusedButton, but for normal modals there's no such option. If there's something I'm missing, then perhaps this is just a docs issue.

@chandlerprall
Copy link
Contributor

I cannot reproduce this issue any longer, it was likely addressed by ongoing focus trap work (see also #3889)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants