Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Component used: Navigation Version used: 2.5.0+ Devices/Android versions reproduced on: all
When using Navigation Compose, there are situations where the changing the destination can cause the Navigation graph to be reset (this happens any time a change is made to the graph that causes it to not be equal to the previously set graph).
Although it is not likely the intended behavior in most cases since it actually causes you to reset the entire back stack, it would be nice if Navigation at least did not crash.
Here is a sample app:https://github.com/kristof-taveirne/OnBoardingCompose