I’m putting my gantt into a modal window using jquery-ui dialog and when I try to drag to order the branches it fails on finding the element by point and returns null. On line 1867 in dhtmlxgantt.js:
var target = document.elementFromPoint(pos.x-document.body.scrollLeft+1, y-document.body.scrollTop);
Maybe its the sizing of the windows, or how jquery-ui handles it?