Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Navigation] Page stack support when using Region.Attached="True" #2604

Open
1 task done
eriklimakc opened this issue Nov 6, 2024 · 1 comment
Open
1 task done
Assignees
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.

Comments

@eriklimakc
Copy link
Contributor

eriklimakc commented Nov 6, 2024

Current behavior

In a typical navigation flow with Uno.Extensions.Navigation, where MainPage is a standard page (without NavigationView or TabBar), navigating to SecondPage successfully builds a navigation stack. This allows returning to MainPage without needing to specify a DependsOn: "Main" in SecondPage's RouteMap.

However, when using NavigationView or TabBar in MainPage, along with a <Grid uen:Region.Attached="True" uen:Region.Navigator="Visibility" /> to render pages, specifying DependsOn in the RouteMap 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 RouteMaps 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):

  • All
@eriklimakc eriklimakc added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels Nov 6, 2024
@eriklimakc
Copy link
Contributor Author

Repro2604.zip

@eriklimakc eriklimakc self-assigned this Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

No branches or pull requests

1 participant