Hello,
When I drop an event on the first resource of the scheduler, the event plays a "bouncing" animation, and the event context menu fails to open on right click.
The issue cannot be reproduced when dropping an event on other resources than the first one.
The attached video demonstrates that:
Drag&drop of event 1 onto resource B -> working context menu on event 1
Drag&drop of event 2 onto resource A -> populateEventMenu fails on event 2
I reproduced this issue on the inline data demo, using the following code and data:
import { SchedulerPro } from '../../build/schedulerpro.module.js?465031';
import shared from '../_shared/shared.module.js?465031';
export const data = {
"eventsData": [
{
"id": 1,
"name": "1",
"startDate": "2022-10-02T09:12:00",
"endDate": "2022-10-02T12:48:00",
},
{
"id": 2,
"name": "2",
"startDate": "2022-10-02T09:48:00",
"endDate": "2022-10-02T16:24:00",
}
],
"resourcesData": [
{
"id": 0,
"name": "A",
"image": false
},
{
"id": 1,
"name": "B",
"image": false
}
],
"assignmentsData": [
{
"id": 0,
"resourceId": 0,
"eventId": 1
},
{
"id": 1,
"resourceId": 1,
"eventId": 2
}
],
};
const
schedulerPro = new SchedulerPro({
appendTo : 'container',
startDate : '2022-10-02',
endDate : '2022-10-02',
viewPreset : 'hourAndDay',
forceFit : true,
columns : [
{
type : 'resourceInfo',
text : 'Name',
field : 'name',
showEventCount : true,
width : 150
}
],
resources : data.resourcesData,
events : data.eventsData,
assignments : data.assignmentsData,
dependencies : data.dependenciesData
});
I tried disabling the event menu to workaround this error, without success.
Is there an error in my data or scheduler configuration?