Skip to content

Commit

Permalink
fix(sbb-overlay): consider sbb-overlay as overlay in inert mechanism (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB authored Apr 16, 2024
1 parent 0781c6a commit 4ecc125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/core/overlay/overlay.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { TemplateResult } from 'lit';
import { html } from 'lit';

const IS_OPEN_OVERLAY_QUERY = `:is(sbb-dialog, sbb-navigation, sbb-menu)[data-state='opened']`;
const IS_OPEN_OVERLAY_QUERY = `:is(sbb-dialog, sbb-navigation, sbb-menu, sbb-overlay)[data-state='opened']`;

/**
* Used to create the "wrapping" effect around the anchor for overlays (es. autocomplete)
Expand Down

0 comments on commit 4ecc125

Please sign in to comment.