From 92a4e5b59641bd787f5a6d9b3e976b6493991295 Mon Sep 17 00:00:00 2001 From: Roger So Date: Wed, 11 Sep 2024 20:03:51 +0800 Subject: [PATCH] Prevent Tab key from processed more than once --- src/lib/components/popover/PopoverPanel.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/popover/PopoverPanel.svelte b/src/lib/components/popover/PopoverPanel.svelte index 30ce9b97..a10a29ce 100644 --- a/src/lib/components/popover/PopoverPanel.svelte +++ b/src/lib/components/popover/PopoverPanel.svelte @@ -93,6 +93,7 @@ // but it will also "fix" some issues based on whether you are using a // Portal or not. event.preventDefault(); + event.stopImmediatePropagation(); let result = focusIn( $panelStore,