Hey guys, we're really excited about your 18.2 update and decided to take some of the schedule changes for a spin. Notably, we wanted to play around with the year view updates. I noticed that when trying to drag and drop events in the year view to another day, there are console errors thrown. From my experience, I get two different errors (depending on whether or not I drag onto a day or empty space). They are as follows:
drag.js?15e6:873 Uncaught TypeError: Cannot read property 'appendChild' of null
at DragAndDrop.appendCloneElement (drag.js?15e6:873)
at DragAndDrop.swapDragging (drag.js?15e6:627)
at DragAndDrop.calculateVerticalTime (drag.js?15e6:485)
at DragAndDrop.updateDraggingDateTime (drag.js?15e6:373)
at DragAndDrop.drag (drag.js?15e6:277)
at Observer.notify (observer.js?811a:99)
at Draggable.Base.trigger (base.js?3923:181)
at Draggable.intDrag (draggable.js?fc93:360)
drag.js?15e6:454 Uncaught TypeError: Cannot read property 'getTime' of undefined
at DragAndDrop.morePopupEventDragging (drag.js?15e6:454)
at DragAndDrop.updateDraggingDateTime (drag.js?15e6:359)
at DragAndDrop.drag (drag.js?15e6:277)
at Observer.notify (observer.js?811a:99)
at Draggable.Base.trigger (base.js?3923:181)
at Draggable.intDrag (draggable.js?fc93:360)
I managed to reproduce it here:
https://stackblitz.com/edit/react-bwq6qw . Seems to affect both the Year view and the TimelineYear view. Really hoping we can get a quick fix for this, we'd love to use the year view but this may block us from using it until it can be resolved!
Thanks a lot,
Nicho