Update subproject commit in zen-components

This commit is contained in:
mr. M
2024-10-31 22:18:30 +01:00
parent 440b7171b0
commit e433c5160a
7 changed files with 158 additions and 214 deletions

View File

@@ -49,7 +49,7 @@ var gZenUIManager = {
for (const el of this._popupTrackingElements) {
// target may be inside a shadow root, not directly under the element
// we also ignore menus inside panels
if (!el.contains(showEvent.explicitOriginalTarget) || showEvent.explicitOriginalTarget.closest('panel')) {
if (!el.contains(showEvent.explicitOriginalTarget) || (showEvent.explicitOriginalTarget && showEvent.explicitOriginalTarget?.closest('panel'))) {
continue;
}
document.removeEventListener('mousemove', this.__removeHasPopupAttribute);