Repository navigation
Conversation
leaf-agent
reviewed
Oct 9, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
#2122 already includes this PR's focusDestination(door, "return") handoff in shortcut-bar.js. The change itself follows the focus contract, but both open PRs currently carry the same repair. I recommend landing this focused PR and removing the duplicate hunk from #2122, or closing this PR if #2122 will carry it.
This was referenced Oct 9, 2026
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.
The repair is already on main through #2122. This focused PR is superseded; the handoff and return cause are identical, with only the import location differing.
Opening Keyboard shortcuts from More returns focus through the shared focus owner, identifying the placement as a return. This aligns the entry route with the focus contract introduced in #2036 while preserving scroll position.
Verified with lint and dependency checks, three browser regressions, and independent desktop/phone review with shortcuts enabled and disabled. Escape and Close both return to More without scrolling.