DataGridXL / DataGridXL3

Excel-like JavaScript Data Grid - Unbeaten Performance
0 stars 0 forks source link

Issue with contextmenu/dragOverlay #16

Closed DataGridXL closed 6 months ago

DataGridXL commented 6 months ago

dragOverlay should not appear when contextmenu click (right mouse)

Also, dragOverlay only seems to work properly when grid container has a position set.

(DGXL2 sets this position, so let's do that for v3 as well!)

image

DataGridXL commented 6 months ago

Let's start with a simpler approach: do not display dragOverlay when right mouse click

That is not the issue. Issue is in z-index, in how DOM is constructed.

DataGridXL commented 6 months ago

Let's relocate the dragOverlay: let's have a drag overlay PER grid, so we can make sure that the z-index hassle is minimized