canvas-datagrid icon indicating copy to clipboard operation
canvas-datagrid copied to clipboard

Expanded tree opens up multi level context menu on the parent row

Open debugcarkey opened this issue 5 years ago • 2 comments

The child context menu overlaps the parent context menu after tree is expanded. The desired behaviour is to hide the child context menu when right clicked on parent row. https://i.imgur.com/dxLaZKX.png

Steps to reproduce the problem.

  1. Enable the tree view
  2. Expand the parent row. right click and open the context menu
  3. Collapse tree and return to parent row , right click and open the context menu

Version 0.22.12

debugcarkey avatar May 05 '19 06:05 debugcarkey

Thanks for the report. Looks like there needs to be some code that detects that the parent's context menu is open and closes it. Or is it the case that both menus pop up when a single click is performed?

TonyGermaneri avatar May 06 '19 19:05 TonyGermaneri

This problem still exists in the current version. You can use this fiddle to reproduce.

Before expanding any parent row, the context menu seems to work fine, but after expanding a row, two menus pop up on a single click of a row in the parent grid.

jswolf19 avatar Dec 08 '21 08:12 jswolf19