@@ -200,7 +200,7 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
200
200
return $modal
201
201
? _animatedContainerHeight . value - verticalInset
202
202
: _animatedContainerHeight . value ;
203
- } , [ topInset , bottomInset , $modal , _animatedContainerHeight . value ] ) ;
203
+ } , [ topInset , bottomInset , $modal , _animatedContainerHeight ] ) ;
204
204
const animatedContainerOffset = useReactiveSharedValue (
205
205
_providedContainerOffset ?? INITIAL_CONTAINER_OFFSET
206
206
) as Animated . SharedValue < Insets > ;
@@ -221,7 +221,7 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
221
221
) ;
222
222
const animatedHighestSnapPoint = useDerivedValue (
223
223
( ) => animatedSnapPoints . value [ animatedSnapPoints . value . length - 1 ] ,
224
- [ animatedSnapPoints . value ]
224
+ [ animatedSnapPoints ]
225
225
) ;
226
226
const animatedClosedPosition = useDerivedValue ( ( ) => {
227
227
let closedPosition = animatedContainerHeight . value ;
@@ -231,10 +231,10 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
231
231
}
232
232
233
233
return closedPosition ;
234
- } , [ animatedContainerHeight . value , $modal , detached , bottomInset ] ) ;
234
+ } , [ animatedContainerHeight , $modal , detached , bottomInset ] ) ;
235
235
const animatedSheetHeight = useDerivedValue (
236
236
( ) => animatedContainerHeight . value - animatedHighestSnapPoint . value ,
237
- [ animatedContainerHeight . value , animatedHighestSnapPoint . value ]
237
+ [ animatedContainerHeight , animatedHighestSnapPoint ]
238
238
) ;
239
239
const animatedCurrentIndex = useReactiveSharedValue (
240
240
animateOnMount ? - 1 : _providedIndex
@@ -1522,7 +1522,7 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
1522
1522
return {
1523
1523
paddingBottom : animatedContainerHeight . value ,
1524
1524
} ;
1525
- } , [ animatedContainerHeight . value , detached ] ) ;
1525
+ } , [ animatedContainerHeight , detached ] ) ;
1526
1526
const contentMaskContainerStyle = useMemo (
1527
1527
( ) => [ styles . contentMaskContainer , contentMaskContainerAnimatedStyle ] ,
1528
1528
[ contentMaskContainerAnimatedStyle ]
@@ -1581,7 +1581,7 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
1581
1581
1582
1582
evaluatePosition ( ANIMATION_SOURCE . SNAP_POINT_CHANGE ) ;
1583
1583
} ,
1584
- [ isLayoutCalculated . value , animatedSnapPoints . value ]
1584
+ [ isLayoutCalculated , animatedSnapPoints ]
1585
1585
) ;
1586
1586
1587
1587
/**
0 commit comments