When an cell has a ContextFlyout or ContextMenu with Focusable=True, you cannot open it. Right-clicking on the element causes the context menu to open and take focus. This results in the cell losing focus and exiting edit mode, causing the element with the context menu to disappear along with the context menu itself.
Steps to Reproduce
Open the TreeDataGrid containing a TextCell or TemplatedCell with an element that has a context menu.
Start editing the cell.
Attempt to paste text using the right-click context menu.
Environment
TreeDataGrid Version: 11.0.10
Avalonia Version: 11.0.10
Operating System: Windows 11
Description
When an cell has a ContextFlyout or ContextMenu with Focusable=True, you cannot open it. Right-clicking on the element causes the context menu to open and take focus. This results in the cell losing focus and exiting edit mode, causing the element with the context menu to disappear along with the context menu itself.
Steps to Reproduce
Open the TreeDataGrid containing a TextCell or TemplatedCell with an element that has a context menu. Start editing the cell. Attempt to paste text using the right-click context menu. Environment
TreeDataGrid Version: 11.0.10 Avalonia Version: 11.0.10 Operating System: Windows 11