[Navigation] Deeplinking not working when DependsOn used in routes #2147
Labels
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification.
Current behavior
When a "DependsOn" link is defined in the routemap navigation fails to sub-paths. For example in Playground, if you open the NavigationView and click on Products the relative path is /NavigationView/Products. When attempting to navigate to this the NavigationViewPage is correctly navigated to but the navigated path is calculated as /Home/NavigationView (since Home is DependsOn for the NaivgationView route). This causes a perpetual loop because the NavigationView can't be stripped from the original request, since Home doesn't appear in the original request.
Expected behavior
Calculated navigated route should only include segments that were in the original route request
How to reproduce it (as minimally and precisely as possible)
Launch Playground on WASM
Open Navigation and Click Products
Address bar should include NavigationView/Products
Click refresh on browser - this won't ever succeed
Environment
Nuget Package (s):
Package Version(s):
Affected platform(s):
Visual Studio:
Relevant plugins:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: