Open zxsure opened 11 months ago
Gantt doesn't have a built-in way to detect mouse events outside the current frame or the browser window. If you release the mouse button within the frame/window, Gantt will detect that and stop dragging or resizing a task. I added it as a feature request, so the dev team will add it in the future, but I cannot give you any ETA.
For now, you need to implement a custom solution by using the Gantt API and Javascript.
Here is an example of how it can be implemented: https://snippet.dhtmlx.com/5lj2t4o3
As the title described, is there a way to stop the infinite scrolling after mouse up outside the browser window and set proper task end date accordingly.