Hi Terry,
Greetings from Syncfusion support.
We have
reviewed your query and understand that the panel starts dragging while
selecting text in the RTE. We suggest setting the allowDragging
property to false or canceling the dragStart
event if the target is the RTE component. This will prevent the panel from
being dragged while selecting text inside the dashboard panel.
Refer to the code snippet below for reference.
[solution 1]
….
var dashboard = new
ej.layouts.DashboardLayout({
cellSpacing: [10, 10],
columns: 2,
allowResizing: true,
allowDragging: false
});
…
|
[solution 2]
….
var dashboard = new
ej.layouts.DashboardLayout({
cellSpacing: [10, 10],
columns: 2,
allowResizing: true,
dragStart:(args)=>{
if(args.event.target.closest("#defaultRTE")){
args.cancel =true;
}
}
});
…
|
Sample 1: https://stackblitz.com/edit/fvmoaxfq-ccvsrsff?file=index.js
Sample 2: https://stackblitz.com/edit/fvmoaxfq-gtmiuqdx?file=index.js
Please check the sample and let us know if you need any
further assistance.
Best Regards,
Vishwanathan