@momentum-design/components 0.112.4 → 0.112.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -808,6 +808,8 @@ class Popover extends BackdropMixin(PreventScrollMixin(FocusTrapMixin(Component)
|
|
808
808
|
}
|
809
809
|
isEventFromTrigger(event) {
|
810
810
|
var _a;
|
811
|
+
if (!this.triggerID)
|
812
|
+
return false;
|
811
813
|
if (event.composed) {
|
812
814
|
return event.composedPath().some(el => (el === null || el === void 0 ? void 0 : el.id) === this.triggerID);
|
813
815
|
}
|