dnd-kit
dnd-kit copied to clipboard
How to copy over items from one SortableContext to another?
I have 2 SortableContext's in the same DndContext.
My Goal:
- I need to be able to copy over items from
SortableContext 2
toSortableContext 1
(using drag & drop) - Items should not be able to move from
SortableContext 1
toSortableContext 2
SortableContext 2
should contain a fixed set of items that cannot be rearranged within its own context, but can only be copied over to SortableContext 1
.
How to achieve this?
Thanks!