-
I have a full screen modal with a navbar visible above it. How can I allow tabbing there?
I have been trying to see how the keyboard trapping works, but no luck so far. Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
diasbruno
Mar 22, 2023
Replies: 1 comment
-
Actually this behavior is not suitable for modal. When a modal is open, the focus must remain on it until the required action is done. It's not possible to disable this behavior on the current version. If you have this requirement on your application, I'm afraid react-modal won't help. :( |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
diasbruno
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actually this behavior is not suitable for modal.
When a modal is open, the focus must remain on it until the required action is done.
This is an accessibility requirement.
It's not possible to disable this behavior on the current version.
If you have this requirement on your application, I'm afraid react-modal won't help. :(