Skip to content

docs: document allowEventsFromNestedModals for shortcuts - #6420

Closed
javier-godoy wants to merge 1 commit into
vaadin:mainfrom
javier-godoy:shortcut-nested-modals
Closed

javier-godoy wants to merge 1 commit into
vaadin:mainfrom
javier-godoy:shortcut-nested-modals

Conversation

@javier-godoy

Copy link
Copy Markdown
Contributor

Documents ShortcutRegistration.allowEventsFromNestedModals() / setEventsFromNestedModalsAllowed(boolean), added in Vaadin 25.2, in the Keyboard Shortcuts article.

Since 25.2, a shortcut ignores keydown events originating from a modal or popover nested inside its listening scope (vaadin/flow#24974). This also affects shortcuts registered through UI.addShortcutListener(...), which in Vaadin 24 used to fire from inside dialogs. The new section explains the default behavior and how to opt out of it.

🤖 Generated with Claude Code

@javier-godoy
javier-godoy force-pushed the shortcut-nested-modals branch from b3dbb94 to b39b50c Compare October 14, 2026 16:17
@javier-godoy
javier-godoy marked this pull request as ready for review October 14, 2026 16:18
@javier-godoy
javier-godoy deleted the shortcut-nested-modals branch November 9, 2026 01:49
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