Team,
How we can restrict drag and drop and event out of window.
As of now we are able to drag and drop out of window and the event is disappearing from the gantt view.
We are getting below error in console.
After getting this error we are not able to perform any action.
Uncaught TypeError: Cannot read property 'getTime' of null
at Function.add (schedulerpro.module.js?5da6:8423)
at Scheduler.getStartEndDatesFromRectangle (schedulerpro.module.js?5da6:119440)
at EventDrag.resolveStartEndDates (schedulerpro.module.js?5da6:112557)
at EventDrag.updateDragContext (schedulerpro.module.js?5da6:111019)
at EventDrag.onDrop (schedulerpro.module.js?5da6:110830)
at DragHelper.trigger (schedulerpro.module.js?5da6:5722)
at DragHelper.finishTranslateDrag (schedulerpro.module.js?5da6:32075)
at DragHelper.onMouseUp (schedulerpro.module.js?5da6:33631)
at HTMLDocument.handler (schedulerpro.module.js?5da6:32653)
Seems you have no CSS telling the component how to size itself, it's a bug in your HTML/CSS so have a look there and make sure you tell the component how to size itself.