NavigationView does not work
See original GitHub issueDescribe 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:
in a demo app:
Steps to reproduce the bug
Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
Expected behavior
Screenshots
Version Info
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:
- Created 2 years ago
- Comments:41 (16 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will look into this.
@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.