diff --git a/packages/vaul-vue/src/DrawerContent.vue b/packages/vaul-vue/src/DrawerContent.vue index 149d740..9a7103b 100644 --- a/packages/vaul-vue/src/DrawerContent.vue +++ b/packages/vaul-vue/src/DrawerContent.vue @@ -17,6 +17,7 @@ const { dismissible, keyboardIsOpen, closeDrawer, + direction, } = injectDrawerRootContext() const snapPointHeight = computed(() => { @@ -61,6 +62,7 @@ watch( (), { nested: false, modal: true, scrollLockTimeout: SCROLL_LOCK_TIMEOUT, + direction: 'bottom', }) const emit = defineEmits() @@ -96,18 +97,57 @@ defineExpose({