Skip to content

Commit

Permalink
fix(#1035,#1043): updated default animatedNextPositionIndex to INITIA…
Browse files Browse the repository at this point in the history
…L_VALUE (#1960)(by @dfalling)
  • Loading branch information
dfalling authored Oct 14, 2024
1 parent ab33e21 commit 1cf3e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/bottomSheet/BottomSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
);
const animatedPosition = useSharedValue(INITIAL_POSITION);
const animatedNextPosition = useSharedValue(INITIAL_VALUE);
const animatedNextPositionIndex = useSharedValue(0);
const animatedNextPositionIndex = useSharedValue(INITIAL_VALUE);

// conditional
const isAnimatedOnMount = useSharedValue(false);
Expand Down

0 comments on commit 1cf3e41

Please sign in to comment.