static-var/vlr-gg

Navigation backstack does not enforce exclusive destinations

msfjarvis opened this issue · 0 comments

If you navigate between destinations in the home tab bar they will keep getting added to the backstack and trying to exit the app by pressing back will take you through your entire navigation journey before closing the app.

Steps to reproduce

  • Tap bottom nav items in this order: News -> Matches -> Events -> About -> News
  • Press back

App should exit here but instead takes you back through the app in reverse order of what you selected above

Here's how I fixed it for Claw: msfjarvis/compose-lobsters@2e50342