From c4e674d177284b7a4fa1e412ab76aaa40e3f96f8 Mon Sep 17 00:00:00 2001 From: milan Date: Wed, 7 Aug 2024 15:38:23 +0200 Subject: [PATCH] do not skip handleSelect on sub-menu click --- api/js/egw_action/EgwMenuShoelace.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/egw_action/EgwMenuShoelace.ts b/api/js/egw_action/EgwMenuShoelace.ts index 660e6d5f2f..be69b9d60a 100644 --- a/api/js/egw_action/EgwMenuShoelace.ts +++ b/api/js/egw_action/EgwMenuShoelace.ts @@ -137,8 +137,8 @@ export class EgwMenuShoelace extends LitElement handleSelect(event) { - // If not open or from a sub-menu, skip - if(!this.popup || event.target !== this.menu) + // If not open, skip + if(!this.popup) { return; }