Closed pranavbabu closed 6 months ago
Hey @pranavbabu I'm glad this package is useful to you.
And yes! you can disable closing by just setting closeOnDragDown
prop to false
E.g
<BottomSheet ref={sheetRef} closeOnDragDown={false}>
...
</BottomSheet>
I meant callback 'beforeClose' , so I can add for exmaple extra warning if users closing bottom sheet and prevent it with e.preventDefault() maybe
There's onClose callback
Hey, first of all, this is great library and good job! I wonder if it's possible to prevent bottom sheet from closing, lets say to show some warning for user in some cases.