Skip to content

Respect form fields inside open shadow roots - #158

Open
minwookshin wants to merge 1 commit into
github:mainfrom
minwookshin:fix/shadow-root-hotkeys
Open

minwookshin wants to merge 1 commit into
github:mainfrom
minwookshin:fix/shadow-root-hotkeys

Conversation

@minwookshin

Copy link
Copy Markdown

Use the original composed-path target when checking form fields and scoped hotkeys, following the approach discussed in #123. Typing inside an open shadow root no longer activates global shortcuts; closed roots retain their existing behavior.

Added nine regression cases covering editable controls, nested roots, matching and mismatched scopes, and non-editable controls. All pass in Chromium, Firefox, and WebKit. Lint, type checking, and the build pass. The full browser suites have one existing macOS Meta+Shift failure per engine, reproduced on untouched main (297 passed / 3 failed before, 324 passed / 3 failed after).

Fixes #123.

@minwookshin
minwookshin requested a review from a team as a code owner October 4, 2026 07:49
@minwookshin
minwookshin requested a review from arelia October 4, 2026 07:49

This branch has not been deployed

No deployments
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.

Hotkeys are fired when trying to type into a text field inside a custom element

1 participant