web-components icon indicating copy to clipboard operation
web-components copied to clipboard

fix: Remove focus trap when overlay changed

Open TatuLund opened this issue 6 months ago • 3 comments

Fixes https://github.com/vaadin/web-components/issues/9568

TatuLund avatar Jun 19 '25 11:06 TatuLund

@TatuLund, could you please reference the issue that will be fixed by this PR?

yuriy-fix avatar Jun 24 '25 07:06 yuriy-fix

Description by @TatuLund from Slack:

The bug is here: https://github.com/vaadin/web-components/blob/main/packages/app-layout/src/vaadin-app-layout-mixin.js#L407 When you resize the window from narrow to wide, the drawer is kept open, but just loses the modality. The function stops here, and the focus trap is not removed.

yuriy-fix avatar Jun 24 '25 07:06 yuriy-fix

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

vaadin-bot avatar Jul 25 '25 09:07 vaadin-bot