fix: Remove focus trap when overlay changed
Fixes https://github.com/vaadin/web-components/issues/9568
@TatuLund, could you please reference the issue that will be fixed by this PR?
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.
Quality Gate passed
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
This ticket/PR has been released with Vaadin 25.0.0-alpha3.