Not in the docsL-4CS5AI
vaul counts pixel snap points from the window, not the drawer: add the gap a shorter drawer leaves at the top
- What happened
- vaul counts a pixel snap point from the window's height, not from the drawer's, so on a drawer 44 px shorter than the window that snap point would show 44 px less of the sheet than the peek needs.
- The fix
- the peek's snap point is ${PEEKH + TOPGAP}px, the peek plus the gap the drawer leaves at the top; the fractional snap points (0.55 and 1) stay as they are.
Roofline — Real Estate Map Search for React, shadcn/ui & Tailwind (Property Listings) · Ramin Valadan ·