Skip to content

Tab: ignore modifier+arrow shortcuts; docs: menu Escape behavior#42553

Open
mdo wants to merge 3 commits into
v6-devfrom
mdo/tab-keydown-menu-docs
Open

Tab: ignore modifier+arrow shortcuts; docs: menu Escape behavior#42553
mdo wants to merge 3 commits into
v6-devfrom
mdo/tab-keydown-menu-docs

Conversation

@mdo

@mdo mdo commented Jun 24, 2026

Copy link
Copy Markdown
Member

Two small fixes:

Full suite passes; eslint + markdownlint + prettier clean.

mdo added 2 commits June 24, 2026 16:40
_keydown preventDefault'd arrow keys regardless of modifiers, so
Alt+Left/Right (browser history nav) and similar shortcuts were
swallowed inside a tablist. Ignore the event when alt/ctrl/meta is
held. Fixes #38565.
Esc closes the menu while focus is within it (regardless of autoClose)
and returns focus to the toggle. Fixes #38035.
@mdo mdo requested a review from a team as a code owner June 24, 2026 23:40
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.

1 participant