Join Slack
Powered by
Anyone noticed white screen flickering when naviga...
# compose-ios
g
Guilherme Delgado
08/14/2023, 1:35 PM
Anyone noticed white screen flickering when navigating between composables screens where the navigation is managed by iOS?
Screen Recording 2023-08-14 at 14.18.47.mov
👍 1
👀 1
e
Elijah Semyonov
08/14/2023, 2:17 PM
It’s happening because we don’t wait until the first frame renders when presenting/pushing. We’ll discuss that internally.
👍 1
Elijah Semyonov
08/14/2023, 2:19 PM
You can watch this issue here:
https://github.com/JetBrains/compose-multiplatform/issues/3492
✅ 1
👍 2
t
tylerwilson
08/14/2023, 2:37 PM
I had an issue like this, and it was that in the Compose for iOS code they default the background color to white, hence the flash. Try to set the color to what you want as soon as it is created, and it may at least reduce the effect. See here:
https://github.com/JetBrains/compose-multiplatform-core/blob/40e76ce83f97147ce4416[…]itMain/kotlin/androidx/compose/ui/window/ComposeWindow.uikit.kt
👌 1
28
Views
Open in Slack
Previous
Next