Avalonia.Controls.TreeDataGrid icon indicating copy to clipboard operation
Avalonia.Controls.TreeDataGrid copied to clipboard

Impossible to open context menu of editing cell

Open 00jeser opened this issue 1 year ago • 0 comments

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

00jeser avatar Jun 20 '24 06:06 00jeser