Skip to content

Commit 86e6f2e

Browse files
authored
fix: popover state (#48)
1 parent 5658b13 commit 86e6f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/layout/popover.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class PopoverComponent extends HTMLComponent {
1010
this.setAttribute("popover", "");
1111
this.shadowRoot!.append(content.draw());
1212
this.addEventListener("toggle", (event) => {
13-
this.#open.setValue((<CustomEvent>event).detail.newState === "open");
13+
this.#open.setValue((<ToggleEvent>event).newState === "open");
1414
});
1515
}
1616

0 commit comments

Comments
 (0)