From d45ff72c9cc9eefdc5db5011ab73cc89d34ffbd0 Mon Sep 17 00:00:00 2001 From: faupau Date: Tue, 18 Apr 2023 17:02:51 +0200 Subject: [PATCH] fix(web): accountinfopanel not closing on button press (#2276) * fix accountinfopanel not closing on button press * remove overcomplicated logic replace with simpler logic and only one outside listener * remove keydown --------- Co-authored-by: faupau03 --- .../navigation-bar/account-info-panel.svelte | 3 -- .../navigation-bar/navigation-bar.svelte | 34 +++++++------------ 2 files changed, 13 insertions(+), 24 deletions(-) diff --git a/web/src/lib/components/shared-components/navigation-bar/account-info-panel.svelte b/web/src/lib/components/shared-components/navigation-bar/account-info-panel.svelte index 8c7236ecd..dea246a94 100644 --- a/web/src/lib/components/shared-components/navigation-bar/account-info-panel.svelte +++ b/web/src/lib/components/shared-components/navigation-bar/account-info-panel.svelte @@ -1,5 +1,4 @@