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

Preventing Trap Focus #264

Open
Jordan9232 opened this issue Sep 14, 2022 · 0 comments
Open

Preventing Trap Focus #264

Jordan9232 opened this issue Sep 14, 2022 · 0 comments

Comments

@Jordan9232
Copy link

Jordan9232 commented Sep 14, 2022

As far as I can tell, there doesn't seem to be any way to prevent trap focus from happening. I want to be able to still interact with other elements on the page while keeping the popover open, but my popover has a button in it so any time I try to focus a different element outside the popover it automatically refocuses my button.

I've tried setting autoFocus to false but that only seems to affect focus when the popover gets opened.

Is there something I am missing on how to do this?

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

1 participant