Skip to content
This repository has been archived by the owner on May 17, 2022. It is now read-only.

Tab key in modals tabs through elements outside the modal #51

Open
ghost opened this issue Aug 10, 2020 · 0 comments
Open

Tab key in modals tabs through elements outside the modal #51

ghost opened this issue Aug 10, 2020 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@ghost
Copy link

ghost commented Aug 10, 2020

Describe the bug
Inside a modal dialog, pressing the Tab key repeatedly moves focus to the next items inside the modal, then also to items outside it.

To Reproduce

  1. Open a modal dialog, e.g Create Card.
  2. Press Tab key a dozen times.
  3. Observe that the focus eventually goes to menu items, chapters, scenes, etc.

Expected behavior
When the last element in the modal has focus, pressing Tab again should focus the modal's first element.

Screenshots
In the image below, after opening the modal I was able to focus the "New Scene" button. Pressing Enter key at that point opens the New Scene dialog (the two modals are open at the same time).
image

@TorstenDittmann TorstenDittmann added the bug Something isn't working label Aug 11, 2020
@TorstenDittmann TorstenDittmann added this to the 1.1 milestone Aug 11, 2020
@TorstenDittmann TorstenDittmann modified the milestones: 1.1, 1.2 Sep 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant