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
14.85k stars 1.08k forks source link

Composables disappear on iPad Air 3 with iOS 16.3.1 #4756

Open brewin opened 2 weeks ago

brewin commented 2 weeks ago

Describe the bug All composables disappear on iPad Air 3 with iOS 16.3.1 after opening, closing, then opening the app again. Rotating the screen makes them reappear until the app is closed again. UIKit views on the screen do not disappear, only composables. I was not able to reproduce the issue on an iPad simulator running iOS 16.4 or on an iPhone 8 running iOS 16.7.7. After updating the iPad Air 3 to iOS 17.4.1, the composables no longer disappear and everything appears to work correctly. Unfortunately, I now realize that it is not possible to downgrade iOS, so I can't investigate the issue further.

Affected platforms

Versions

To Reproduce

https://github.com/brewin/cmp-ipad-bug Open app, close app, open app again.

Screenshots

https://github.com/JetBrains/compose-multiplatform/assets/1248685/e108ad07-02ad-47e0-86ed-2842072454d1