Closed suu3 closed 1 month ago
This behavior can work by adding !h[100dvh] onto Drawer.Content and then h-[calc(100dvh-40px)] on the child inside the content. h-[calc(100dvh-40px)] is conditionally applied to the Drawer.Content child when the snappoint is 1 within my application.
Thanks! I'll close this issue.
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.