Allow to replace the whole navigation stack during the navigationSee original GitHub issue
At the outset, would like to appreciate the effort that’s being made to make this AppModel alive by adding features to it.
And while trying the preview NuGet package (0.9.2-preview), came across this issue.
This is being generic Shell definition used across many projects with both Flyout items and Tab (meant to be hidden from the flyout menu and invoked on demand like the Login page).
But when such is definition is used with this Blazor Bindings model, navigating to the Tab defined page opens up with the Flyout menu still open and that page is pushed onto the Navigation stack as a back button is still present. Need a way to define Attached Properties to make this a Modal page.
And the next part of the issue is while moving from the Tab page to any other page, behaves like a usual regular Navigation page. pushed onto the stack. The intended behavior is to replace the entire Navigation stack and start afresh.
This feature needs to be added in this AppModel on how to start navigation afresh (maybe with additional parameters to the NavigateToAsync method as the underlying Native Shell implementation does support that feature with route address
Tab page with Flyout menu still open:
Tab page with back button:
- Created a year ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
Adding a Login page as another Flyout item and its visibility controlled by a property is definitely a good idea. Have made use of this approach in XAML but with Shell routing. Will try this way.
Thanks for the sample page for making use of the Attached properties. Have tried with Native control property, but not much progress.