When i am dragging the task and scrolling then it is replicating the task bar

When i am dragging the task and scrolling then it is replicating the task bar

http://snippet.dhtmlx.com/5/787cab809

I got a fix but i think it is not the ideal one
gantt.attachEvent(“onMouseMove”, function (id,e){
y_pos = e.clientY;
gantt.render();
});

so, here i am re-rendering gantt and this fix that issue. is there any better solution to it.

Hello Nitish,
I don’t think there is an easy solution for that.

You could check the dragging task ID in the addTaskLayer function and return false for all other tasks:

  renderer: function highlight_area(taskObject) {
    if (taskObject.id != dragging_task) {
      return false
    }

But unfortunately, the addTaskLayer function doesn’t fire for split tasks. So if you move them, you won’t see the task bar at all.
The dev team will fix that bug in the future, but I cannot give you any ETA.