Framework WIP:

- Deal with avatar menu not positioning correctly
This commit is contained in:
nathan 2024-06-17 09:25:40 -06:00
parent bf3ea312df
commit 5770484723

View File

@ -134,6 +134,12 @@ export class EgwFramework extends LitElement
// Init timer // Init timer
this.egw.add_timer('topmenu_info_timer'); this.egw.add_timer('topmenu_info_timer');
// Deal with bug where avatar menu does not position correctly
this.getEgwComplete().then(() =>
{
(<SlDropdown>this.querySelector("#topmenu_info_user_avatar"))?.popup?.dispatchEvent(new Event("slotchange"));
});
} }
/** /**