Our pure JavaScript Scheduler component
I need to get new resourceId when drop. But eventDrop i can't find it
desired: on drop i want to get startDate and newResourceId
Animal wrote: ↑Thu Aug 18, 2022 7:21 am
Have you used your own custom CSS to hide the tooltip?
That error is thrown if the tooltip is unexpectedly style display : none
without it knowing that it is hidden (The hide()
method should be called)
I used:
.b-eventdrag-tooltip {
display: none;
}
and
eventDrag(event: IDrag) {
const { source } = event;
source.features.eventDrag.tip.hide();
},
but still error like in images
hoangtruongdz96 wrote: ↑Thu Aug 18, 2022 9:18 am
I used:
.b-eventdrag-tooltip {
display: none;
}
but still error like in images
Right, that's why the error happens. It should be possible to use
features : {
eventDrag : {
tip : null
}
}
To inhibit creation of the tooltip for dragging, but that causes errors, so here's a ticket that will fix it: https://github.com/bryntum/support/issues/5078