Skip to content

Commit 1cf3e41

Browse files
authored
fix(#1035,#1043): updated default animatedNextPositionIndex to INITIAL_VALUE (#1960)(by @dfalling)
1 parent ab33e21 commit 1cf3e41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/bottomSheet/BottomSheet.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
237237
);
238238
const animatedPosition = useSharedValue(INITIAL_POSITION);
239239
const animatedNextPosition = useSharedValue(INITIAL_VALUE);
240-
const animatedNextPositionIndex = useSharedValue(0);
240+
const animatedNextPositionIndex = useSharedValue(INITIAL_VALUE);
241241

242242
// conditional
243243
const isAnimatedOnMount = useSharedValue(false);

0 commit comments

Comments
 (0)