diff --git a/src/BottomSheetView.tsx b/src/BottomSheetView.tsx index cc6f6c9..80d36a5 100644 --- a/src/BottomSheetView.tsx +++ b/src/BottomSheetView.tsx @@ -65,8 +65,9 @@ function BottomSheetModalScreen({ const onChange = React.useCallback( (newIndex: number) => { + const currentIndex = lastIndexRef.current; lastIndexRef.current = newIndex; - if (newIndex >= 0) { + if (newIndex >= 0 && newIndex !== currentIndex) { navigation.snapTo(newIndex); } },