Hi Sheng,
Greetings from Syncfusion support.
We have created a sample using the context menu. We
suggest enabling the args.cancel
on dragStart
event when the context menu opens state. Please find the below code and sample
for your reference.
app.component.html
|
<ejs-kanban
(dragStart)="dragStart($event)"
>
</ejs-kanban>
|
app.component.ts
|
public dragStart(args: DragEventArgs) {
if (document.querySelector('.e-contextmenu').style.display == 'block') {
args.cancel = true;
}
}
|
Sample: https://stackblitz.com/edit/angular-zdyfh4?file=app.component.ts
Please check the above solution, If still problem persist,
can you please share the video with your issue or modify the above sample to
reproduce your issue.
Regards,
Buvana S