I have an app using Shell navigation. There are 4 menu options that appear in the flyout menu and along the bottom of the screen (tabs?).
I have: Home, Statement, Load and Devices
The navigation is working OK between those 4 pages.
From each of those pages (except Home), you can open further "detail" pages which I achieve in code using "GoToAsync". The "Detail" page opens and a "Back" navigation arrow at the top of the page is added, all of the tabs are still visible along the bottom (Home, Statement, Load, Devices). If I click on the "Back" arrow at the top, I return to the main page which is one of the list above, which is fine.
The problem is:
navigate to, say, Load and then onto a "detail" page, and then navigate to a main page (list above) and then back to Load ... the "Detail" page is shown, NOT the Load page.
How can I remove / close the "Detail" page if I navigate to somewhere else using the main menu along the bottom (while on the "Detail" page)?
If I touch Home, Statement, Load or Devices, I want to go to that exact page even if I had previously visited a "Detail" page and navigated away to Home, Statement, Load or Devices.
Sorry, I hope the above is clear enough to explain what is currently happening and what it is that I want to happen!!