Open qinyao86 opened 1 year ago
@qinyao86
preventClickEventOnDrag
option to trueselectFromInside
option to true.setSelectedTargets
method on the your target, item, dom's click
event.I used preventClickEventOnDrag=true and selectFromInside =true, but still not work for me. I used a very complicated method to sovle this: In the onDrag event,determine whether the mouse is on the selected item. If on:
Environments
Description
Hi, I have a problem in my project. I need to select multi items that can be drag and drop to somewhere.but when I try to drag the selected items, selecto will reselect the item which I clicked at and remove the others. How can I prevent the select event when I start drag inside a selected item, and select the item when just click? Hope for reply!