diff --git a/src/components/core/overlay/overlay.ts b/src/components/core/overlay/overlay.ts index 972047250f..03c0787e7b 100644 --- a/src/components/core/overlay/overlay.ts +++ b/src/components/core/overlay/overlay.ts @@ -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)