Open ArleyPereira opened 1 week ago
I think problem occurs when multiple click to navigate or same screen popud. If u remove SlideAnimation etc.. error can be gone. But I applied this solution for my project. I hope solver your problem.
override val key: ScreenKey = super.key + "${Random.nextDouble(Double.MIN_VALUE, Double.MAX_VALUE)}"
Thanks for your tip. I will try to apply it, while there is no solution from the library. From what I've seen, this error has been known for some time, but so far it still persists.
Face the same error. I used the 1.0.0 tho.
Edit: i tried 1.1.0 alpha04 and still the transition error
I face the same crash,but i am upgrading to kotlin 2.0.0-RC2
and use release apk (r8), when I had open a object
screen, and then open another object
screen, app will be crash with it, i'm not sure what's the reason for that at the moment.
ps: seem use data object
can solve my problem.
Hi, i just found out something:
dropUnlessResumed
not working for this, not because of lifecycle owner, but when you click that quickly, the state is still resumed (check screenshot below)androidx.compose.ui.platform
, not the one from androidx.lifecycle.compose
.I think problem occurs when multiple click to navigate or same screen popud. If u remove SlideAnimation etc.. error can be gone. But I applied this solution for my project. I hope solver your problem.
override val key: ScreenKey = super.key + "${Random.nextDouble(Double.MIN_VALUE, Double.MAX_VALUE)}"
thanks mate this worked for me
There is an issue I run into when I quickly double click a button that navigates to another screen in my Compose.
it looks like androidx.lifecycle:lifecycle added dropUnlessResumed in version 2.8.0-alpha02.
https://developer.android.com/jetpack/androidx/releases/lifecycle?hl=pt-br
I tested with version 2.8.0-rc01, but I got the error: CompositionLocal LocalLifecycleOwner not present.
voyager = "1.1.0-alpha04" composeBom = "2024.05.00" kotlin = "1.9.23"