Skip to content

Commit 6aa661f

Browse files
committed
fix: don't autofocus within Dialog
1 parent 694cf9d commit 6aa661f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vaul-vue/src/DrawerContent.vue

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ watch(
8484
@pointermove="handleOnDrag"
8585
@pointerup="onRelease"
8686
@pointer-down-outside="handlePointerDownOutside"
87+
@open-auto-focus.prevent
8788
@escape-key-down="(event) => {
8889
if (!dismissible)
8990
event.preventDefault()

0 commit comments

Comments
 (0)