[Navigation] Page stack support when using Region.Attached="True"
#2604
Labels
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification.
Current behavior
In a typical navigation flow with Uno.Extensions.Navigation, where
MainPage
is a standard page (withoutNavigationView
orTabBar
), navigating toSecondPage
successfully builds a navigation stack. This allows returning toMainPage
without needing to specify aDependsOn: "Main"
inSecondPage
'sRouteMap
.However, when using
NavigationView
orTabBar
inMainPage
, along with a<Grid uen:Region.Attached="True" uen:Region.Navigator="Visibility" />
to render pages, specifyingDependsOn
in theRouteMap
becomes necessary to maintain the page stack and enable back navigation.So if we have a page that can be navigated to from multiple pages, defining multiple
RouteMap
s for that page becomes necessary.Expected behavior
How to reproduce it (as minimally and precisely as possible)
Environment
Nuget Package (s):
Package Version(s):
Affected platform(s):
The text was updated successfully, but these errors were encountered: