From 26085ff82b4ea4866585b36d8f96345a87843ef0 Mon Sep 17 00:00:00 2001 From: martin <74269598+martabal@users.noreply.github.com> Date: Thu, 27 Jul 2023 21:42:27 +0200 Subject: [PATCH] fix: clicking outside the shortcuts pannel (#3433) * use FullScreenModal for ShowShortcuts * pr feeback --- .../lib/components/shared-components/show-shortcuts.svelte | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web/src/lib/components/shared-components/show-shortcuts.svelte b/web/src/lib/components/shared-components/show-shortcuts.svelte index 6f0047dbbb..d17f124819 100644 --- a/web/src/lib/components/shared-components/show-shortcuts.svelte +++ b/web/src/lib/components/shared-components/show-shortcuts.svelte @@ -2,6 +2,7 @@ import Close from 'svelte-material-icons/Close.svelte'; import CircleIconButton from '../elements/buttons/circle-icon-button.svelte'; import { createEventDispatcher } from 'svelte'; + import FullScreenModal from './full-screen-modal.svelte'; const shortcuts = { general: [ @@ -21,8 +22,8 @@ const dispatch = createEventDispatcher(); -
-
+ dispatch('close')}> +
@@ -76,4 +77,4 @@
-
+