Skip to content

Prevent disabling cleanup in progress transitions on iOS#6270

Merged
bartlomiejbloniarz merged 2 commits intomainfrom
@bartlomiejbloniarz/fix-progress-transition-restart
Jul 15, 2024
Merged

Prevent disabling cleanup in progress transitions on iOS#6270
bartlomiejbloniarz merged 2 commits intomainfrom
@bartlomiejbloniarz/fix-progress-transition-restart

Conversation

@bartlomiejbloniarz
Copy link
Copy Markdown
Contributor

@bartlomiejbloniarz bartlomiejbloniarz commented Jul 15, 2024

Summary

This PR changes the way Progress Transitions are restarted. Since the finishSharedTransition method is triggered by RNSScreens events we shouldn't increase the restart counter, because this could cause the cleanup to never happen.

Test plan

Check [SET] examples for regressions on iOS

@bartlomiejbloniarz bartlomiejbloniarz added this pull request to the merge queue Jul 15, 2024
Merged via the queue into main with commit 1604731 Jul 15, 2024
@bartlomiejbloniarz bartlomiejbloniarz deleted the @bartlomiejbloniarz/fix-progress-transition-restart branch July 15, 2024 16:47
r0h0gg6 pushed a commit to r0h0gg6/react-native-reanimated that referenced this pull request Jul 28, 2025
…nsion#6270)

## Summary

This PR changes the way Progress Transitions are restarted. Since the
`finishSharedTransition` method is triggered by `RNSScreens` events we
shouldn't increase the restart counter, because this could cause the
cleanup to never happen.
## Test plan

Check `[SET]` examples for regressions on iOS
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