UI.WPF.Modern icon indicating copy to clipboard operation
UI.WPF.Modern copied to clipboard

[Bug] The selected navigation view item was not reselected after collapsing the navigation view

Open GID0317 opened this issue 11 months ago • 2 comments

Describe the bug

Selected navigation menu item was not get selected back after we collapsed the navigation panel and open it again

Current:

https://github.com/user-attachments/assets/abc7fe08-cd2e-41f4-97ab-5ca67dbb7863

WinUI:

https://github.com/user-attachments/assets/54f24193-cc29-4cc2-a3f1-364e27c340a4

Reproduction

Select navigation view item > Collapse navigation view > Reopen it again > Not selected

Suggested Solution

No response

Library Version

0.10.0

Operating System

Windows 11

Framework

.NET Core and .NET

Framework Version

8

Source of Package

NuGet.org

Additional Notes

No response

Validations

  • [x] Check that there isn't already an issue that reports the same or similar problem.
  • [x] Check that this is a bug in the library that should be fixed, not a feature, also this is not about the documentation. (Or please choose the right repo and template.)
  • [x] This is one single problem, or a few problems with the same cause. (If you want to report multiple problems, please create one issue for every single problem.)
  • [x] You've checked that this problem still exists in the latest version. (Keep in mind that we don't provide any support for old versions.)
  • [x] You know that we can't guarantee that we will satisfy your request. This is not really our duty to do everything anyone asks for. Also, you will treat our staff, contributors, and other users with respect and kindness.
  • [x] You're sure there's something wrong with the library itself, not how you're using it. (If you are having issues using it and need help, please go to discussion.)

GID0317 avatar Jan 23 '25 12:01 GID0317

please can u test if #267 fixes this for you ?

https://github.com/user-attachments/assets/ab32418f-21b5-4384-8557-6f41244e9500

mou-haz avatar Jun 28 '25 01:06 mou-haz

Hi, I’ve already tested it, and the fix seems to work perfectly for both the top and left. So far, it’s working great

GID0317 avatar Jun 28 '25 03:06 GID0317