Add basic list menu elements and fix alwaysToggle to only trigger if the popup is open.
This commit is contained in:
@ -182,7 +182,7 @@ class TpPopup extends EventHelpers(Position(DomQuery(LitElement))) {
|
||||
|
||||
if (toggle && this.toggleEl.hasAttribute('disabled')) return;
|
||||
|
||||
if (toggle || this.alwaysToggle) {
|
||||
if (toggle || this.alwaysToggle && this.isOpen) {
|
||||
this.toggle();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user