You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a TreeView with ContextFlyout as a context menu, the selection state / focus of TreeView items is lost after interacting with the MenuFlyout, Subsequent item selection requires two clicks instead of the expected single click behavior.
However, when using the traditional ContextMenu, the selection state is properly maintained.
Describe the bug
When using a TreeView with ContextFlyout as a context menu, the selection state / focus of TreeView items is lost after interacting with the MenuFlyout, Subsequent item selection requires two clicks instead of the expected single click behavior.
However, when using the traditional ContextMenu, the selection state is properly maintained.
To Reproduce
Working example with ContextMenu
Issue example with MenuFlyout
Expected behavior
ContextFlyout should maintain consistent selection behavior like the existing ContextMenu implementation when used in a TreeView control
Avalonia version
11.2.2
OS
Windows 11 [Version 10.0.26100.2454]
Additional context
No response
The text was updated successfully, but these errors were encountered: