emilkowalski / vaul

An unstyled drawer component for React.
https://vaul.emilkowal.ski
MIT License
6k stars 201 forks source link

Can I use negative values for snapPoints or set a top margin in pixels? #456

Open suu3 opened 5 days ago

suu3 commented 5 days ago

Hello, I'd like to set the maximum height of snapPoints to be 40px less from the top. I'm wondering if there's a way to use something like calc(100vh - 40px) within snapPoints.