Skip to content

Commit

Permalink
fix: set AlertDialog openFocus & closeFocus props in ctx (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmarnet authored Nov 12, 2023
1 parent 3c9df71 commit 9d99db8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/bits/alert-dialog/components/AlertDialog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
portal,
forceVisible,
defaultOpen: open,
openFocus,
closeFocus,
onOpenChange: ({ next }) => {
if (open !== next) {
onOpenChange?.(next);
Expand Down

0 comments on commit 9d99db8

Please sign in to comment.