-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed as not planned
Labels
Description
Prerequisites
- I am using the correct version of React-Bootstrap for my version of Bootstrap
- I have searched for duplicate or closed issues
- I have read the contributing guidelines
Describe the bug
Focus and tabbing can leave the modal despite enforceFocus={true}
.
Expected behavior
Focus and tabbing should be limited to the modal.
To Reproduce
- Create a modal with a bunch of interactive elements in it.
- Open a modal.
- Keep tabbing until the focus is on the last element.
- The next tab will make the focus leave the modal altogether instead of wrapping.
Reproducible Example
Any example from the documentation, e.g. live demo.
Screenshots
No response
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Firefox
What version of React-Bootstrap are you using?
2.7.2
What version of Bootstrap are you using?
5.3.0-alpha3
Additional context
Unreproducible with vanilla Bootstrap. There the tabbing order works as expected and is contained within the modal.