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

Clicking on NavigationView's NavigationViewItem chevron displays empty child list #9426

Closed
tflopez opened this issue Mar 11, 2024 · 3 comments
Labels
area-NavigationView NavView control bug Something isn't working fixed-internally This bug has been fixed, and the fix will be shipped in the next version of WinUI 3. Regression team-Controls Issue for the Controls team
Milestone

Comments

@tflopez
Copy link

tflopez commented Mar 11, 2024

Describe the bug

When the NavigationView.PaneDisplayMode is set to Top, clicking on the expand/collapse chevron on a child NavigationViewItem with children displays a blank pane rather than a list of child items. Clicking on the NavigationViewItem's label or icon does show the list of children as expected. This is new behavior in Microsoft.WindowsAppSDK 1.5.240227000. Microsoft.WindowsAppSDK 1.4.240211001 shows the child list regardless of where you click in the child NavigationViewItem.

When the NavigationView.PaneDisplayMode is set to Left, clicking on the expand/collapse chevron does not expand the NavigationViewItem's node to display its children. Double-clicking on the chevron does expand the node, however.

Steps to reproduce the bug

  1. Start the attached app
  2. Click on the chevron next to the "Account" item
  3. See the blank pane

TestApp.zip

Expected behavior

Clicking on the expand/collapse chevron on a NavigationViewItem with children will open and display its list of children.

Screenshots

image

image

NuGet package version

WinUI 3 - Windows App SDK 1.5.0: 1.5.240227000

Windows version

Windows 11 (22H2): Build 22621, Windows 10 (21H2): Build 19044

Additional context

Thank you!

@tflopez tflopez added the bug Something isn't working label Mar 11, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Mar 11, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@codendone codendone added area-NavigationView NavView control team-Controls Issue for the Controls team fixed-internally This bug has been fixed, and the fix will be shipped in the next version of WinUI 3. Regression and removed needs-triage Issue needs to be triaged by the area owners labels Mar 12, 2024
@codendone codendone added this to the WinAppSDK 1.5 milestone Mar 12, 2024
@codendone
Copy link
Contributor

Fixed in the upcoming 1.5 servicing release.

@tflopez
Copy link
Author

tflopez commented Mar 12, 2024

Thank you!

@tflopez tflopez closed this as completed Mar 12, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Mar 12, 2024
@codendone codendone removed the needs-triage Issue needs to be triaged by the area owners label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NavigationView NavView control bug Something isn't working fixed-internally This bug has been fixed, and the fix will be shipped in the next version of WinUI 3. Regression team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants