Props are not updated on custom animated component #6911
Labels
Platform: iOS
This issue is specific to iOS
Repro provided
A reproduction with a snippet of code, snack or repo is provided
Description
I built an animated view using
Animated.createAnimatedComponent
and passed anangle
prop animation viauseAnimatedProps
. However, the view wasn't updating the prop through the shadow tree. To make it work, I needed to includezIndex: 1
. Here's a sample code snippet:Steps to reproduce
expo-conic-gradient
and checkout to branchreanimated-bug-repro
npm install
in the root folder and runexample
app on iOSzIndex: 1
inexample/App.tsx
to see workaroundSnack or a link to a repository
https://github.com/jakex7/expo-conic-gradient/tree/reanimated-bug-repro
Reanimated version
3.16.7
React Native version
0.76.6
Platforms
iOS
JavaScript runtime
Hermes
Workflow
Expo Dev Client
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
iOS simulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: