diff --git a/src/components/dropdown/dropdown.ts b/src/components/dropdown/dropdown.ts index 0c38b5fdd..281a87c22 100644 --- a/src/components/dropdown/dropdown.ts +++ b/src/components/dropdown/dropdown.ts @@ -131,7 +131,9 @@ export default class SlDropdown extends LitElement { disconnectedCallback() { super.disconnectedCallback(); this.hide(); - this.popover.destroy(); + if(this.popover) { + this.popover.destroy(); + } } focusOnTrigger() {