"Animated styles don't follow the order in which they are specified in the style array." #7669
-
The docs clearly states that The question is if it is possible to replace the previous styles in the style array with the newer ones because that helps in maintaining the styles a lot. My core elements are built with animations and since it is a library, the elements are frequently extended with other reactive styles. This becomes an issue because the extended styles never gets applied as the core styles are always the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Isn't that related to the migration from the Old Architecture to the New Architecture? Have you been maybe using the Old Architecture before and switched to the New Architecture on Reanimated
Unfortunately, it is not possible. This is how Reanimated on the New Architecture currently works. It always takes the latest changes and applies them on top of all previous changes. I know that it is cumbersome and should be improved. |
Beta Was this translation helpful? Give feedback.
-
Yes, I looked back at the package.json file and that exactly was the cause. My react native version was
I see, thanks for the reply. I would appreaciate if you can fix this problem within the next year. You're doing a great job, the animations are super smooth even on low end devices. I can't wait to use Reanimated 4 with these new features! |
Beta Was this translation helpful? Give feedback.
Isn't that related to the migration from the Old Architecture to the New Architecture? Have you been maybe using the Old Architecture before and switched to the New Architecture on Reanimated
3.16.0
? As far as I know, this is only a difference between react native architectures and approaches that Reanimated use and this shouldn't be related to specific Reanimated version.Unfortunate…