diff --git a/packages/vaul-vue/src/DrawerContent.vue b/packages/vaul-vue/src/DrawerContent.vue index fe67604..0da046d 100644 --- a/packages/vaul-vue/src/DrawerContent.vue +++ b/packages/vaul-vue/src/DrawerContent.vue @@ -43,22 +43,28 @@ function handlePointerDownOutside(event: Event) { } watch( - () => isOpen.value, - (isOpen) => { - if (isOpen) { + isOpen, + (open) => { + if (open) { setTimeout(() => { isVisible.value = true }, 1) } }, + { immediate: true }, )