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)
Attachment actions
Unintended behavior
View staffing
Description
Component used: Navigation
Version used: androidx.navigation:navigation-compose:2.8.7
Devices/Android versions reproduced on: POCO X4 Pro Android 13
Issue
When starting an activity with an implicit deeplink and then navigating to the start destination of the root nav graph, the NavHost shows the target destination for a short moment and then turns white / blank and the backstack is empty. This even happens when navigating to other destinations first.
My nested NavGraph contains these destinations:
The deeplink is launched by restarting the activity like this:
and handling the deeplink via
Then the NavHost becomes blank when navigating to Home with popUpTo:
Workaround
Navigating twice, manually or programmatically, works around this issue.