On Animated.loop, when resetBeforeIteration is false with Animated.sequence, it causes an error after the one cycle #37611
Labels
API: Animated
Needs: Triage 🔍
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
When repeating the animation, I set the resetBeforeIteration property to false
so that it doesn't reset to its initial value when another cycle starts.
But after the first cycle and before the second cycle started,
I got an error
ERROR TypeError: Cannot read property 'start' of undefined, js engine: hermes
.Just in case, I change another option
iteration
but it didn't cause the error.React Native Version
0.71.8
Output of
npx react-native info
Steps to reproduce
On Animated.loop, put Animated.sequence in the animation param, and add an option
resetBeforeIteration
to false.Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: