Animating position properties (top, bottom, left, right) not working in custom animations #7035
Labels
Platform: Android
This issue is specific to Android
Platform: iOS
This issue is specific to iOS
Repro provided
A reproduction with a snippet of code, snack or repo is provided
Description
Animating position properties (
top
,bottom
,left
,right
) does not work when using custom entering/exiting animations (via theentering
/exiting
prop). While these properties animate correctly withuseAnimatedStyle
, they fail to animate when specified in theentering
/exiting
animation configuration object.Expected Behavior
Position properties should animate smoothly when using custom entering/exiting animations, just as they do when using
useAnimatedStyle
.Actual Behavior
Position properties remain static and do not animate when used in custom entering/exiting animations. The component immediately jumps to the final position value without any transition.
Code Example
Steps to reproduce
Animated.View
with a custom entering animation that includes position propertiesuseAnimatedStyle
– which works correctly.Snack or a link to a repository
https://snack.expo.dev/@katarina.ljungdahl/biased-green-celery
Reanimated version
~3.16.1
React Native version
0.76
Platforms
iOS / Android
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
iOS simulator / Android emulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: