Is there a way to collapse the sidebar when the focus leaves the region? #2150
Answered
by
drammock
peterychang
asked this question in
Q&A
-
When the site window is sufficiently small, the sidebars will collapse into popouts. At that point, you can tab navigate through the toc elements. However, you can also tab out of the popout and onto the main page without collapsing it Is there a way to either prevent the focus from leaving the sidebar, or collapsing the sidebar when the focus leaves the region? The same issue occurs with the search overlay. |
Beta Was this translation helpful? Give feedback.
Answered by
drammock
Mar 4, 2025
Replies: 1 comment 1 reply
-
#1737 explains why it's possible (indeed preferable) for focus to leave the sidebar eventually. See especially this comment |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
peterychang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#1737 explains why it's possible (indeed preferable) for focus to leave the sidebar eventually. See especially this comment