diff --git a/.changeset/tender-parrots-juggle.md b/.changeset/tender-parrots-juggle.md new file mode 100644 index 0000000..7a0d9b4 --- /dev/null +++ b/.changeset/tender-parrots-juggle.md @@ -0,0 +1,6 @@ +--- +"vaul-vue": minor +"playground": minor +--- + +feat: Direction 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({