Skip to content

Commit 4fb90c6

Browse files
authored
fix: don't autofocus within Dialog (#93)
* fix: don't autofocus within Dialog * Create neat-lies-heal.md
1 parent 694cf9d commit 4fb90c6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/neat-lies-heal.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"vaul-vue": patch
3+
---
4+
5+
fix: don't autofocus within Dialog

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)