Skip to content

Return through the focus owner when opening keyboard settings - #2123

Closed
max-sixty wants to merge 2 commits into
mainfrom
codex/pending-message-contrast
Closed

max-sixty wants to merge 2 commits into
mainfrom
codex/pending-message-contrast

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

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.

This was written by Codex on behalf of max-sixty

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants