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 animation frozen after app went background #1263

Merged
merged 2 commits into from Apr 16, 2024

Conversation

elijah-semyonov
Copy link

Proposed Changes

Invalidate compose scene when the app goes foreground to trigger redraw.
The intent is to avoid the situation where last presented frames are discarded due to the app going background, leaving the visual content in older state.

Testing

Test: Demo/IosBugs/AnimationFreezeBug the visual state always matches the animation final state when app goes to foreground.

Issues Fixed

Fixes: JetBrains/compose-multiplatform#4566

@elijah-semyonov elijah-semyonov merged commit 1c13834 into jb-main Apr 16, 2024
6 checks passed
@elijah-semyonov elijah-semyonov deleted the es/ios-animation-freeze-fix branch April 16, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants