Skip to content

Commit

Permalink
fix: set tabindex on the overlay to make focus-trap work
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed May 15, 2024
1 parent 29dca5c commit 9fc2cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/popover/src/vaadin-popover-overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class PopoverOverlay extends PopoverOverlayMixin(DirMixin(ThemableMixin(PolylitM
render() {
return html`
<div id="backdrop" part="backdrop" hidden ?hidden="${!this.withBackdrop}"></div>
<div part="overlay" id="overlay">
<div part="overlay" id="overlay" tabindex="0">
<div part="content" id="content"><slot></slot></div>
</div>
`;
Expand Down

0 comments on commit 9fc2cc3

Please sign in to comment.