-
I discovered that updating the exiting, entering, and layout props does not affect their actual animation behavior; only the initial value on mount is respected. Initially, I believed this to be a bug. Furthermore, I came across a comment in the source code that suggests updating animation configurations is on the to-do list. Link to the source code comment. Despite my investigation, I couldn't find any existing issues or discussions related to this matter. Consequently, I am a bit confused about whether this behavior is considered a bug by Reanimated developers and users. If there are any ongoing discussions or known issues regarding this, I would appreciate it if you could provide more information. In my attempt to address this issue independently, I tried adding reactivity to animation props. My approach involved calling configureLayoutAnimations and registerTransition upon prop updates. Unfortunately, this approach did not yield the desired results. I am curious to know if others have attempted a similar solution. I am eager to resolve this problem as soon as possible and would appreciate any guidance or insights. |
Beta Was this translation helpful? Give feedback.
#5371