Drag_between causing scheduler destructor crash

I am running into an issue with having multiple scheduler instances on a page (I have the pro version) and using drag_between with the scheduler’s destructor. In my Angular project, in ngOnDestroy I call scheduler.destructor() and when this goes into the “onDestroy” event for drag_between, it crashes after doing an .unshift() of the scheduler instances.

Unshift() returns a length, not a an element (a scheduler) of the array of schedulers. After this operation it crashes because it cannot execute on a number when it is expecting a scheduler object.

Hello @nwuser,

Thank you for the detailed description of the issue, it’s a bug in our end. I already sent it to the dev team, and they will work on a fix, unfortunately there is no ETA.

Kind regards,