Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Layout Animations iOS crash on reload #4404

Merged
merged 2 commits into from
Apr 26, 2023
Merged

Conversation

tomekzaw
Copy link
Member

@tomekzaw tomekzaw commented Apr 25, 2023

Summary

This PR adds a benchmark example for layout animations as well as fixes the following crash on iOS during reload when exiting animation is used:

Zrzut ekranu 2023-04-24 o 19 08 05

Q: Should we replace all _hasAnimationForTag calls with hasAnimationForTag?

Test plan

Copy link
Member

@piaskowyk piaskowyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

@tomekzaw tomekzaw added this pull request to the merge queue Apr 26, 2023
Merged via the queue into main with commit 4a2838b Apr 26, 2023
9 checks passed
@tomekzaw tomekzaw deleted the @tomekzaw/letters-example branch April 26, 2023 13:30
fluiddot pushed a commit to wordpress-mobile/react-native-reanimated that referenced this pull request Jun 5, 2023
## Summary

This PR adds a benchmark example for layout animations as well as fixes
the following crash on iOS during reload when exiting animation is used:

<img width="1229" alt="Zrzut ekranu 2023-04-24 o 19 08 05"
src="https://user-images.githubusercontent.com/20516055/234343744-85ea9db2-14c7-4c0f-ae99-4c880677ca8f.png">

Q: Should we replace all `_hasAnimationForTag` calls with
`hasAnimationForTag`?

## Test plan

<!-- Provide a minimal but complete code snippet that can be used to
test out this change along with instructions how to run it and a
description of the expected behavior. -->
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.

None yet

2 participants