Sortable icon indicating copy to clipboard operation
Sortable copied to clipboard

[Question]How not to render the dragged element onEnd?

Open ace0109 opened this issue 3 years ago • 2 comments

When I drag an element from one list A to another list B, how do I keep list B from rendering that element, I want to go through this part of the logic manually.

ace0109 avatar Aug 19 '21 02:08 ace0109

do you have a solution? i have the same question

OstrichZkh avatar Aug 09 '23 02:08 OstrichZkh

This seems to work for me.

 onEnd: e => {
       e.item.parentNode.removeChild(e.item);
      }

puruzio avatar Jan 26 '24 16:01 puruzio