IRouteNotifier + NavigationView + MVUX + Navigator not reliable? #2663
Labels
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification.
Current behavior
Listening to RouteNotifier as described in uno docs from MainModel as corresponding Model to MainPage where the apps NavigationView is placed, the output is case 1 empty string or case 2 "Tab" indicating the TabNavigationBar ib the bottom of this app, but never showing any of the route names in Route registry or xaml named regions.
Expected behavior
If that output would be the current route as expected it would maybe be possible to set the NavigationView Header Content to that Page Title=Route to not havong to add a header definition to each of them
How to reproduce it (as minimally and precisely as possible)
ViewMap s for at least 3 pages incl. Their models, so add one
Main is nested to shell, second and third page nested to main, second to be default, same as main.
IState<string>CurrentHeaderText
Start and check it out. No header will be there
Environment
Nuget Package (s):
Package Version(s):
Affected platform(s):
Visual Studio:
Relevant plugins:
Anything else we need to know?
Would be nice to be able to set the NavigationView.Header to the current pages header or similar to not have to set this up at each page individually. On wpf or similar pages do have Title property to fill this in, on uno that is at least not available on intellisense...
The text was updated successfully, but these errors were encountered: