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

When using the NavigationView, it's important to mention that a grid with Region.Navigator="Visibility" is needed #2290

Open
ArchieCoder opened this issue May 9, 2024 · 1 comment
Assignees
Labels
kind/documentation Categorizes an issue or PR as relevant to 3rd party dependencies that are consumed by this project triage/untriaged Indicates an issue requires triaging or verification.

Comments

@ArchieCoder
Copy link

ArchieCoder commented May 9, 2024

On which page?

https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Navigation/Advanced/HowTo-UseNavigationView.html

What's wrong?

If the steps in the page are followed, it works well.

However, if your app does not use in-placed controls with Region "One", "Two", "Three" as shown in the example, you still need the following XAML

        <Grid
            uen:Region.Attached="True"
            uen:Region.Navigator="Visibility" />

If it is not provided, you will end up with unclear warnings:

Uno.Extensions.Navigation.Regions.NavigationRegion: Warning: AssignParent - (Name: ) Unable to find service provider for root navigator
05-09 16:10:28.957-04:00 W/Uno.Extensions.Navigation.Regions.NavigationRegion: AssignParent - (Name: ) Unable to find service provider for root navigator

Any feedback?

In the same article, the Grid.Row="1" is not needed

@ArchieCoder ArchieCoder added kind/documentation Categorizes an issue or PR as relevant to 3rd party dependencies that are consumed by this project triage/untriaged Indicates an issue requires triaging or verification. labels May 9, 2024
@agneszitte
Copy link
Contributor

agneszitte commented May 9, 2024

fyi @nickrandolph as you maybe have in progress adjustments for the Navigation doc I think

@agneszitte agneszitte transferred this issue from unoplatform/uno May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes an issue or PR as relevant to 3rd party dependencies that are consumed by this project triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

No branches or pull requests

3 participants