[REACT] Manually reassigning a dragged event causes the event to flicker before being dropped
Posted: Thu Mar 30, 2023 7:46 pm
by dphilip
I have added code for manually reassigning events to a different start date when I drag/drop an event.
function reassign(event) {
event.setStartDate(new Date("29 September 2022 11:00"));
}
When I manually reassign the dragged events, using setStartDate or scheduleEvent , there is a slight dance that the event does on screen before it is dropped at the manually set dates.
Re: [REACT] Manually reassigning a dragged event causes the event to flicker before being dropped
Posted: Fri Mar 31, 2023 3:07 pm
by dphilip
I am not trying to prevent drop, I am trying to reschedule the events.
Re: [REACT] Manually reassigning a dragged event causes the event to flicker before being dropped
Posted: Fri Mar 31, 2023 3:47 pm
by mats
It's not supported to change the "final destination" during drag-drop, but it seems like this is a reasonable request. I've opened a feature request, which you can track here: https://github.com/bryntum/support/issues/6508
Re: [REACT] Manually reassigning a dragged event causes the event to flicker before being dropped