Repository navigation
fix(web): close the first steps panel on Escape, and shadow the mobile drawer only while open - #394
Merged
harenome merged 1 commit intoNov 24, 2026
Conversation
…e drawer only while open Escape from the panel's toggle or from inside the panel closes it and focuses the toggle; the welcome dialog keeps its own Escape. The closed drawer, off screen, no longer darkens the page's left edge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #391
What
Escape closes the First steps panel when the focus is on its toggle or inside the panel, as its Hide does, and puts the focus on the toggle. Escape elsewhere on the page leaves the panel alone, so other menus keep their own Escape; the welcome dialog keeps its native one. The mobile drawer's shadow moves from
.sideto.side.drawer-open, so the closed drawer no longer darkens the page's left edge.Touches
templates and static
Before and after
Rows: Escape on the open panel at 1280 px; the closed drawer at 390 px, light.
Verified
aria-expanded, panel removed) and focuses the toggle; Escape elsewhere leaves it open. It fails on main.aria-expanded="true"; now"false", panel gone, focus on the toggle.Risk
A script that relied on Escape passing through the panel would now see it close. Undone by a revert.