Dear Premium Support,
when I switched on in my project eventDrag with the next config:
eventDrag: {
showTooltip: false,
constrainDragToTimeSlot: true,
constrainDragToTimeline: false
}
it start freezing me some events, make them shorter and set green background (which is default color and was overwrite in my project). It was rare case and difficult to understand what behavior gave such an odd result, but finally I got it:
when you start dragging the event and then decided to return it back (change your mind, selected wrong event, whatever) and the drop "Y" coordinate stay the same as the drag start point has (like you moved your mouse just left or right) then the bug appears.
Sometimes it's a bit difficult to repeat so check the attached video. I used the project from ticket: https://github.com/bryntum/support/issues/6369 and just changed there
eventDrag: false
to config mentioned higher.
Also, I'm not sure if it is related, but i had the same result when I tried to implement logic from this example https://bryntum.com/products/scheduler/examples/drag-outside/ from
eventDrop
listener in
beforeEventDropFinalize
listener. Is it expected and such a logic should be in
eventDrop
only? Or is it a bug and should I create another one ticket? Or maybe event it is related to current problem?
Wait for your answer.
Thank you in advance!
Denys