Dragging shadow position is not in the right position

see image above, the dragging shadow position is not right, I can not customize the dragging shadow position, do you have any way or suggestion to achieve this?

Can not set a fixed left position here, should get the task left position, and set to it

this is really urgent ,please fix it, and send me a fix build

should be like this.


Or like this, not append on the body, but append in gantt area

Hello Kevin,
Thank you for reporting about that. I added it as a bug in our tracker. It will be fixed in the future. I cannot give you an ETA, but I will notify you when the fix is ready.

Now, as a workaround, you can add the following code on your page:

gantt.attachEvent("onBeforeRowDragMove", function(id, parent, tindex){
  var marker = document.getElementsByClassName("gantt_drag_marker")[0];
  if (marker){
  	gantt.$container.appendChild(marker);
    marker.style.top = marker.offsetTop - gantt.$container.getBoundingClientRect().y + 'px'
  }
});

Here is an example of how it works:
https://snippet.dhtmlx.com/c0b23e4f1

Could you send me a temp build with this bug fixed?

Hello Kevin,
I sent you the build in the PM.

Thanks Ramil for helping resolve this issue, thanks!!

For everyone else: that bug was fixed in the 6.1.5 version:
https://docs.dhtmlx.com/gantt/whatsnew.html#615