Skip to content

Conversation

psnet
Copy link
Contributor

@psnet psnet commented Jun 28, 2025

Summary

This PR fixes Animated.loop and Animated.sequence combination usage crash if resetBeforeIteration param for loop is false:

TypeError: can't access property "start", animations[current] is undefined

original author of fix asyler (from PR 44031 of RN repo)

tests are included with fix

Related issues

facebook/react-native#43120
facebook/react-native#37611

…n is false, original author asyler (from PR 44031 on RN repo)
@psnet psnet changed the title fix: Animated.loop and Animated.sequence crash if resetBeforeIteration is false, original author asyler (from PR 44031 on RN repo) fix: Animated.loop and Animated.sequence crash if resetBeforeIteration is false, original author asyler (from PR 44031 on RN repo) Jun 28, 2025
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@necolas necolas closed this in ae6ad8f Aug 20, 2025
@psnet psnet deleted the fix-animated-loop-sequence-crashes-web branch August 20, 2025 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants