Sortable
Sortable copied to clipboard
Drag and Drop without Clone or Move?
Hi,
Im hoping you can guide me here, i cant seem to figure this out.
I am using sortable.js in react. I want to drag an item from 1 column into another but i dont want the item to move or clone, i just want to handle the drop event so I can make a request that will update the data which react uses to refresh the dom which will put the item in the column it was dropped in.
react freaks out when the dom is updated externally so im running into issues.
any help will be greatly appreciated and thank you for this awesome lib.
Yes I would also like to move to catch the drop event, to create a garbage bin to drag items into
You may need to delete dom yourself
I ended up using react-beautiful-dnd which allowed me to achieve the desired effect.