android / nowinandroid

A fully functional Android app built entirely with Kotlin and Jetpack Compose
Apache License 2.0
15.92k stars 2.81k forks source link

[Bug]: Multi back stacks support doesn't restore screen when navigate with system back button #1465

Open ken-kentan opened 1 month ago

ken-kentan commented 1 month ago

Is there an existing issue for this?

Is there a StackOverflow question about this issue?

What happened?

When you have the Saved tab open and press the system back button to return to the For you tab, the expected behavior is that the screen previously opened in the For you tab will be displayed. However, instead, the home screen is displayed. Clicking the For you tab again will restore the state.

Expected behavior: When pressing the system back button to return to the For you tab, the screen previously opened in the tab will be restored.

anhtuannd commented 1 month ago

This seems to be fixed by #1470