radix-vue / vaul-vue

An unstyled drawer component for Vue.
https://vaul.unovue.com
188 stars 8 forks source link

[Question] Min. Height #34

Open anthonyfranc opened 6 months ago

anthonyfranc commented 6 months ago

Can we set a min. height so it's always in view when closed/minimized?

mforstme commented 4 months ago

You can use the snapPoints and the dismissible prop for this.

<Drawer  :dismissible="false" :modal="false" :activeSnapPoint="snap" :snapPoints="[0.3, 0.5, 1]">
[...]
</Drawer>