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

Navigation system with Region in NavigationView.FooterMenuItems navigate to full window mode instead of the right pane #2300

Closed
ArchieCoder opened this issue May 21, 2024 · 1 comment · Fixed by #2345
Assignees
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.

Comments

@ArchieCoder
Copy link

ArchieCoder commented May 21, 2024

Current behavior

Clicking on a footer menu item with a region will navigate to the page but with the full frame, see video
https://github.com/unoplatform/uno/assets/1608424/ee54dbc1-e9f3-4313-9612-a382c2fd16ea

Note: the Profile button is hidden by the media player, check carefully :)

Expected behavior

A footer menu item should behave the same as a menu item.

How to reproduce it (as minimally and precisely as possible)

Move the profile menu item to the FooterMenuItems section (or replace the provided file with the original HomePage.xaml of the Commerce app.

        <muxc:NavigationView.FooterMenuItems>
            <muxc:NavigationViewItem Content="Profile"
									 uen:Region.Name="Profile">
                <muxc:NavigationViewItem.Icon>
                    <PathIcon Data="{StaticResource Icon_Person}" />
                </muxc:NavigationViewItem.Icon>
            </muxc:NavigationViewItem>
        </muxc:NavigationView.FooterMenuItems>

HomePage.xaml.txt

Workaround

No response

Works on UWP/WinUI

No

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

NuGet package version(s)

No response

Affected platforms

Skia (WPF), Skia (Linux X11), Skia (macOS), Windows (WinAppSDK)

IDE

No response

IDE version

Latest VS Code

Relevant plugins

No response

Anything else we need to know?

No response

@ArchieCoder ArchieCoder added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels May 21, 2024
@ArchieCoder ArchieCoder changed the title Navigation system with Region in NavigationView.FooterMenuItems does a wrong behavior Navigation system with Region in NavigationView.FooterMenuItems navigate to full window mode instead of the right pane May 21, 2024
@agneszitte
Copy link
Contributor

fyi @nickrandolph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants