Skip to content

[Navigation] Address bar doesn't update for overlay pages on Tabs/NavView #2771

@erikvilima

Description

@erikvilima

Regular navigation on a Tabs/NavViewItems update the address bar accordingly. However, if a page is navigated where it is open on top of the TabBar or NavView, the address bar won't update and when navigating back the address bar only updates once.

address-bar-issue2

Investigation details:

The reason behind the "Settings" route not being added to the addressbar is because somewhere after the navigation is started the Navigator (NavigationViewNavigator) loses its children and its parent.
So when it comes to the end of the navigation here, it has lost them and then when we try to build the full path to add to the addressbar it returns null because it relies on the Region.Root() - that in our case is the own NavigationViewNavigator since he has no Parent.

Originally posted by @erikvilima in #2768 (comment)

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions