Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: bitmap nulled before screen transition #1844

Merged
merged 2 commits into from
Aug 26, 2022

Conversation

WoLewicki
Copy link
Member

Duplication of #1542 on the newest main with a null check on svgView.

@WoLewicki WoLewicki merged commit 57ea716 into main Aug 26, 2022
WoLewicki added a commit that referenced this pull request Sep 14, 2022
PR fixing the regression introduced in #1844. In that PR we set mRemovedFromReactViewHierarchy after one of SvgView's children has been removed, resulting in not being able to update it after one of the components in its hierarchy has been removed. In this PR the behavior has been changed, now we subscribe to startViewTransition which should be called only by react-native-screens when the screen starts its removal animation. It should still work for old issues as well as the new ones.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant