canvas-datagrid
canvas-datagrid copied to clipboard
Expanded tree opens up multi level context menu on the parent row
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.
- Enable the tree view
- Expand the parent row. right click and open the context menu
- Collapse tree and return to parent row , right click and open the context menu
Version 0.22.12
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?
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.