when Dragging a card quickly, ”console“ will show these error。
Support Forum
Is it what you're experiencing https://github.com/bryntum/support/issues/4859 ?
tasnim wrote: ↑Wed Aug 10, 2022 9:46 amIs it what you're experiencing https://github.com/bryntum/support/issues/4859 ?
yes,It's the same thing.but I don't see any answer to solve it.
Hi raining,
You can use the https://www.bryntum.com/docs/taskboard/api/TaskBoard/view/TaskBoardBase#event-beforeTaskDrag event. Returning false will not allow the task to be dragged
listeners : {
beforeTaskDrag : (eventData) => {
// .b-dragging-item is added to the card when being dragged and removed after drag is completed
const draggingItems = document.querySelector('.b-dragging-item');
return eventData.taskRecords.length !== draggingItems?.length;
}
}
Best regards,
Márcio