osdnk / react-native-reanimated-bottom-sheet

Highly configurable bottom sheet component made with react-native-reanimated and react-native-gesture-handler
MIT License
3.33k stars 328 forks source link

Question- Sheet dismiss #101

Open stefanue opened 5 years ago

stefanue commented 5 years ago

Is it possible to disable dismissal when you swipe down? I would like to keep the component at bottom, on the initial value of snapPoints

here's how it's looking now:

giphy

timothystewart6 commented 5 years ago

Maybe I am misunderstanding but isn't this as simple as setting your initialSnap and it being visible? Setting this should never allow it to be fully dismissed (along with height style). At least that's how it's working for me.