From 5770484723b27486ab8c2fb6598a82dc7f57e56a Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 17 Jun 2024 09:25:40 -0600 Subject: [PATCH] Framework WIP: - Deal with avatar menu not positioning correctly --- kdots/js/EgwFramework.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kdots/js/EgwFramework.ts b/kdots/js/EgwFramework.ts index dc9659728b..e9a8ae25de 100644 --- a/kdots/js/EgwFramework.ts +++ b/kdots/js/EgwFramework.ts @@ -134,6 +134,12 @@ export class EgwFramework extends LitElement // Init timer this.egw.add_timer('topmenu_info_timer'); + + // Deal with bug where avatar menu does not position correctly + this.getEgwComplete().then(() => + { + (this.querySelector("#topmenu_info_user_avatar"))?.popup?.dispatchEvent(new Event("slotchange")); + }); } /**