microsoft-ui-xaml: NavigationView does not work

Describe the bug

<muxc:NavigationView Grid.RowSpan="2" Grid.Column="1" AlwaysShowHeader="False" PaneDisplayMode="Top" IsBackButtonVisible="Collapsed">
      <muxc:NavigationView.MenuItems>
          <muxc:NavigationViewItem Content="Test"/>
          <muxc:NavigationViewItem Content="Test1"/>
      </muxc:NavigationView.MenuItems>
</muxc:NavigationView>

in my real app: image image image

in a demo app: image

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’

Expected behavior

Screenshots

Version Info

image

NuGet package version: Microsoft.UI.Xaml 2.7.0

Windows app type:

UWP Win32
Yes
Windows version Saw the problem?
Insider Build (xxxxx)
May 2021 Update (19043)
October 2020 Update (19042) Yes
May 2020 Update (19041)
November 2019 Update (18363)
May 2019 Update (18362)
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT

Additional context

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 41 (16 by maintainers)

Most upvoted comments

I tried to repro the bug, but failed. https://github.com/HppZ/NavigationViewBug

@aqibbanday Do you have any idea?

I will look into this.