-
Notifications
You must be signed in to change notification settings - Fork 692
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
NavigationView - CanDrag causes all MenuItem's to remain highlighted once pressed #3131
Comments
This seems to happen even when dragging is completely disabled. If you try to click on a |
Able to completely suppress the issue by adding these:
As a very short term workaround. |
@Parth we made a few fixes in this space, can you try again with the latest 2.5 prerlease and report back if it still reproduces? |
This seems to be fixed in 2.5 🎉 |
Describe the bug
I'm using a Hierarchical Navigation View as described here.
Works as expected, but when I add the
CanDrag
property to myDataTemplate
, I experience what I believe is a rendering bug:Xaml
under normal circumstances:Which produces:
The Bug:
Xaml
when experiencing the bug:Which produces the following when you click on
MenuItem
s:Strangely (and perhaps something that's useful) if I get rid of
CanDrag
and allow a hot reload, it doesn't go away until I click on each item. But then it behaves normally once again.Version Info
NuGet package version:
[Microsoft.UI.Xaml 2.4.0] (and 2.4.3)
Windows app type:
Additional context
The text was updated successfully, but these errors were encountered: