From 9d99db87a60fa54ef55f10addfadec11aa39e3a9 Mon Sep 17 00:00:00 2001 From: Thomas Marnet Date: Sun, 12 Nov 2023 17:43:01 -0500 Subject: [PATCH] fix: set AlertDialog openFocus & closeFocus props in ctx (#174) --- src/lib/bits/alert-dialog/components/AlertDialog.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/bits/alert-dialog/components/AlertDialog.svelte b/src/lib/bits/alert-dialog/components/AlertDialog.svelte index 7f4d4ac29..634c8fa56 100644 --- a/src/lib/bits/alert-dialog/components/AlertDialog.svelte +++ b/src/lib/bits/alert-dialog/components/AlertDialog.svelte @@ -26,6 +26,8 @@ portal, forceVisible, defaultOpen: open, + openFocus, + closeFocus, onOpenChange: ({ next }) => { if (open !== next) { onOpenChange?.(next);