Skip to content

docs: clarify ShortcutAction is registered on Panel or Window #10672 - #12686

Open
AzazelSensei wants to merge 1 commit into
vaadin:masterfrom
AzazelSensei:docs-10672-shortcut-panel-window
Open

AzazelSensei wants to merge 1 commit into
vaadin:masterfrom
AzazelSensei:docs-10672-shortcut-panel-window

Conversation

@AzazelSensei

Copy link
Copy Markdown

The shortcut page mixed "accept" and "can attach" for Panel and Window, and it was not obvious that ShortcutAction goes on those containers rather than on the child component.

I spelled out that you register Action.Handler on Panel or Window with addActionHandler, and that click/focus shortcuts are a different API on the button or field.

Fixes #10672

Generic shortcut actions go on Panel/Window via addActionHandler,
not on child fields. Click and focus shortcuts stay on the component.
@cla-assistant

cla-assistant Bot commented Sep 14, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

1 similar comment
@cla-assistant

cla-assistant Bot commented Sep 14, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck 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.

Shortcut documentation is bit outdated and could be clearer

1 participant