-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Nested modals shift+tab focuses items of the underlying modal #1497
Closed
krnlde opened this issue
May 21, 2019
· 2 comments
· Fixed by #1941, #2054 or DDDEastMidlandsLimited/dddem-web#239
Closed
Nested modals shift+tab focuses items of the underlying modal #1497
krnlde opened this issue
May 21, 2019
· 2 comments
· Fixed by #1941, #2054 or DDDEastMidlandsLimited/dddem-web#239
Comments
Duplicate of #1679? |
Yes it is. But... but I was first :D |
watinha
added a commit
to watinha/reactstrap
that referenced
this issue
Jul 29, 2020
12 tasks
watinha
added a commit
to watinha/reactstrap
that referenced
this issue
Aug 5, 2020
12 tasks
kyletsang
added a commit
that referenced
this issue
Dec 23, 2020
* Modal: Trap focus on opened component (FIX #1497 and FIX #1679) * fix shift+tab focus navigation controls on nested modal * Changes this.modalCount(1-based) -> this.modalIndex(0-based index), to improve readability * Sets tabstop=2 and includes comments for trapFocus function. * add/remove focus listener with correct signatures (using the capture flag) Co-authored-by: Kyle Tsang <6854874+kyletsang@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
modal
#8.0.0
es
#16.8.6
#4.3.1
What is happening?
As seen in the Nested Modals example of the documentation, if you open the nested modal
tab
into the focusable items ("Done" and "All Done") and thenshift+tab
back items of the previous modal are focused.What should be happening?
When pressing
shift+tab
the previously focused item should be focused.Steps to reproduce issue
tab
twice to focus the "All Done" buttonshift+tab
to focus the "Done" buttonThe text was updated successfully, but these errors were encountered: