Can't animate boxShadow in RN 0.76+ #6687
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
useAnimatedStyle does not seem to support boxShadow animations - a new feature in React Native 0.76+. When trying to animate box shadows, the shadows disappear as soon as any animation code runs in the hook.
Please note that my repro is very simple but there are many ways to make this bug happen. For example, you can literally run any reanimated interpolator that affects the shadow and the shadow will immediately disappear, you don't even need to return and use a value for the shadow.
Steps to reproduce
Snack or a link to a repository
https://github.com/C0rren/ReactNativeReanimatedIssue
Reanimated version
3.16.1
React Native version
0.76.1
Platforms
Android, iOS
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
Emulator (iPhone 16, iOS 18)
Device model
Emulator (iPhone 16, iOS 18)
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: