diff --git a/docs/fundamentals/systems/overlays/assets/demo-el-using-overlaymixin.mjs b/docs/fundamentals/systems/overlays/assets/demo-el-using-overlaymixin.mjs index 9d92fc6ed..f86866fed 100644 --- a/docs/fundamentals/systems/overlays/assets/demo-el-using-overlaymixin.mjs +++ b/docs/fundamentals/systems/overlays/assets/demo-el-using-overlaymixin.mjs @@ -1,7 +1,7 @@ /* eslint-disable max-classes-per-file */ /* eslint-disable import/no-extraneous-dependencies */ import { html, LitElement, css } from 'lit'; -import { OverlayMixin } from '@lion/ui/overlays.js'; +import { OverlayMixin, withDropdownConfig } from '@lion/ui/overlays.js'; import { LionButton } from '@lion/ui/button.js'; /** @@ -12,6 +12,7 @@ class DemoElUsingOverlayMixin extends OverlayMixin(LitElement) { _defineOverlayConfig() { return /** @type {OverlayConfig} */ ({ placementMode: 'global', + ...withDropdownConfig(), }); }