From cdda5e5f4ee502b6b7313b73748afb1b46f2de6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Mon, 9 Jan 2023 16:10:14 +0100 Subject: [PATCH] stop event. --- .../property-action-menu/property-action-menu.element.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-actions/shared/property-action-menu/property-action-menu.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-actions/shared/property-action-menu/property-action-menu.element.ts index 03db4e593a..6898826005 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-actions/shared/property-action-menu/property-action-menu.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-actions/shared/property-action-menu/property-action-menu.element.ts @@ -69,7 +69,10 @@ export class UmbPropertyActionMenuElement extends UmbLitElement { this._open = value; }); - this.addEventListener('close', this._propertyActionMenuContext.close); + this.addEventListener('close', (e) => { + this._propertyActionMenuContext.close(); + e.stopPropagation(); + }); } private _observeActions(alias: string) {