question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NavigationView does not work

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:41 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
aqibbandaycommented, Oct 29, 2021

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

@aqibbanday Do you have any idea?

I will look into this.

0reactions
crutkascommented, Nov 19, 2021

@Hppz, Our repository, as do all Microsoft repositories have a code of conduct. Our GitHub is a safe spot for everyone and should make everyone feel welcome. Let’s be positive and inclusive. Thanks for understanding.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Navigation View Problems | Apple Developer Forums
I've got multiple pages / views in my app (using Swift UI). But after I have navigated to my third view using navigation...
Read more >
Why doesn't the navigation title show up using SwiftUI?
The point is that NavigationView shows each view 's content when it shows it. So it will encapsulate with the destination.
Read more >
Issue with SwiftUI NavigationLink not working
Without a NavigationView, the NavigationLink won't have a navigation stack to push the destination view onto. Confirm view hierarchy: Ensure ...
Read more >
Navigation view on iPad: .navigationViewStyle(.stack) not ...
navigationViewStyle(.stack) is meant to force it into the view that's the default for iPhone, but I've had no luck getting this to work?...
Read more >
SOLVED: Day 30 Project 5: navigation Title doesn't show
I can get a placeholder title to show up, for example .navigationTitle("Title") works. var body: some View { NavigationView ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found