Closed ChanghyeonYoon closed 1 year ago
I solved by onDismiss.
const onDismiss = React.useCallback(() => {
if (!bottomSheetRef.current) return;
bottomSheetRef.current.snapTo(0);
}, [bottomSheetRef]);
<BottomSheet isOpen onDismiss={onDismiss} />
I want to disable close. I set open value is always true. But when i swipe down, bottom sheet will close. How can i prevent close?