JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
16.27k stars 1.18k forks source link

iOS compose screen freeze when action moves user out of the app #4566

Closed BitByAVampire closed 7 months ago

BitByAVampire commented 7 months ago

Describe the bug when triggering a navigation action pushing user outside of the app, if user returns again to the same screen, the animation effect that was happening just before the user had left are stuck frozen.

Affected platforms

Versions

To Reproduce Steps and/or the code snippet to reproduce the behavior:

  1. Create a screen that has a trigger that has animation effect like a button (with ripple effect) or a toggle switcher which navigates the user out of the app
  2. trigger the action
  3. on returning to the screen, sometimes the trigger animation is stuck frozen

Expected behavior the animation effect should be gone. Screenshots Simulator Screenshot - iPhone 14 - 2024-04-01 at 00 29 29 Simulator Screenshot - iPhone 14 - 2024-04-01 at 11 29 57

Additional context Add any other context about the problem here.

okushnikov commented 4 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.