Skip to content

Conversation

web-padawan
Copy link
Member

Description

Follow-up to #10024

After changing dialog to set tabindex on the host, the login in keydown listener no longer works as expected for modeless dialogs because this.$.overlay is not in the event.composedPath(). Changed to use _focusTrapRoot to fix this. Also modified dialog tests to use actual sendKeys() instead of esc() helper and to cover this case.

Type of change

  • Bugfix

Copy link

@web-padawan web-padawan requested a review from vursen August 20, 2025 09:23
@web-padawan web-padawan removed the request for review from sissbruecker August 20, 2025 09:28
@web-padawan web-padawan merged commit f293e81 into main Aug 20, 2025
9 checks passed
@web-padawan web-padawan deleted the fix/modeless-dialog-esc-press branch August 20, 2025 09:30
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 25.0.0-alpha7.

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

Successfully merging this pull request may close these issues.

3 participants