You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the drawer through shadcn (and not directly imported from vaul-svelte), nested drawers must explicitly be set to shouldScaleBackground={false}, otherwise, the background will never return to its original dimensions.
This is easy fix, but it took a while to figure out so it would be cool to fix by default for everyone.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When using the drawer through shadcn (and not directly imported from vaul-svelte), nested drawers must explicitly be set to
shouldScaleBackground={false}
, otherwise, the background will never return to its original dimensions.This is easy fix, but it took a while to figure out so it would be cool to fix by default for everyone.
Beta Was this translation helpful? Give feedback.
All reactions