Abort drag when going outside of scheduler area

Hi there,

I am encountering an issue with the DHTMLX Scheduler regarding drag/drop. When I am doing a drag, while keeping my left mouse button pressed, and move my mouse outside the scheduler area, then release my mousebutton outside the scheduler and then move my pointer back into the scheduler, the scheduler still thinks im in drag/drop mode. But I cannot exit this state since my mousebutton is already released.

I even tested this on the scheduler demo: dhtmlx.com/docs/products/dhtmlxS … ring.shtml

And got the same problem, so that rules out using an older version of the scheduler or some wrong config on our side.

The desired behaviour would be that when im dragging outside the scheduler, that the drag gets aborted and the appointment returns to its original position.

Please let me know what we can do to prevent this.

Hello,
by default mouse events are traced only inside scheduler container.
As a workaroud, you can manually trace mouse up outside calendar and trigger it’s processing, please check this sample

docs.dhtmlx.com/scheduler/snippet/5bd73353