Move and restore focus without containing it #7198
Unanswered
filipsvensson
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Can you share something demonstrating what you're trying to build? Maybe we'll have other suggestions. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm trying to use the FocusScope component to move and restore focus but without containing the focus
<FocusScope contain={false} restoreFocus autoFocus>
Looking at useRestoreFocus it looks like it's only active if contain is true. Is this something that could be changed?
Beta Was this translation helpful? Give feedback.
All reactions