Hi, i create a new dragHelper in my LWC.
the dragstart part works fine, but in my drag part, context.element is empty
listeners: {
dragstart: ({context}) => {
context.task = this.UnplannedGrid.getRecordFromElement(context.grabbed);
this.UnplannedGrid.store.remove(context.task);
//console.log('context.grabbed:'+JSON.stringify(context.grabbed)); //OK
//console.log('context.task:'+JSON.stringify(context.task)); //OK
},
drag: ({event, context}) => {
console.log('task:'+JSON.stringify(context.task)); //OK
//{"id":"a105r000001GRRNAA4","start":"2022-11-21T08:00:00+01:00","recurrenceCombo":"none","name":"VI-000003","finish":"2022-11-21 17:00:00","duration":"9"}
console.log('schedule.isHorizontal:'+this.scheduler.isHorizontal);//OK
//true
console.log('context.element JSON:'+JSON.stringify(context.element));//KO empty {}
//{}