Open HLCaptain opened 7 months ago
As I investigate the problem even more, it looks like, that the Login screen is added twice due to the 2 clicks needed to transition to the screen. So for some reason, the first transition just does not happen, even though the screen is created and pushed to the stack.
Fixed version available here. Notice, how I have to replace all stack items when initializing the Navigator
with the starting screen to "enforce" later transitions in Dialog.kt
.
LaunchedEffect(Unit) {
nav.replaceAll(startScreen)
}
I am writing Dialog logic into my app and noticed a strange crash when navigating back in Navigators in a Dialog.
Stack trace:
Reproduce the problem:
local.properties
fromREADME.md
I suspect, that the problem lies in
Navigator::saveableState
somewhere.