Repository navigation
Replies: 1 comment
|
If you want exactly one visible snap position and a downward swipe to close the sheet, you don't need another "index 0" position. Use one snap point and enable pan-down-to-close: const snapPoints = useMemo(() => ['60%'], []); <BottomSheetModal ...
With One important detail in v5 is dynamic sizing: when |
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to change what the value for index 0 is? I'm trying to make my bottom sheet only be able to snap at 1 point on the screen, and swiping down past a certain point makes the entire sheet go down instead of snapping to the default index 0.
All reactions