on iOS?It works fine on Android, but on iOS it begins expanded and immediately collapses.It causes an additional issue where somehow the collapsing animation causes a deadlock the threading; my main screen is collecting a flow (via collectAsState) and for some reason the entire UI freezes for a second.
Edit: I have a workaround now, not directly related to the drawer but instead a custom predictive back animation, will try to make a separate minimal reproducible scenario later.
Can you please post an issue on youtrack with a full repro and version used?
r
Rok Oblak
08/15/2024, 10:49 AM
Hi @Elijah Semyonov,
thank you, after trying to make a minimal implementation and not being able to repro it, I traced down a source with a predictive back animation fallback that I was using (using Decompose). It somehow interfered and caused a long 1-2 second stutter.
It still does not look expected that the animation would stutter like that but I ran out of energy right now to dig deeper into why or to update the minimal example to reproduce it.
I might do at a later time, for now I will just update the description 🙂
e
Elijah Semyonov
08/15/2024, 11:34 AM
It could be related to Compose synchronously rendering its first frame to avoid flickering. There is no opt-out of this behavior currently.