Commit d5a2e0e
committed
Query filter block: Restrict key handling to only when the modal is open
Previously, the key handler would try to run when the button was focused, but the modal was closed. Without having focusable elements set, this would cause the tab & shift+tab behavior to break. Restricting to the open modal keeps the focus-trap working when open.
Fixes #4711 parent 4c5d050 commit d5a2e0e
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
0 commit comments