dnd-kit icon indicating copy to clipboard operation
dnd-kit copied to clipboard

How to copy over items from one SortableContext to another?

Open Ertuyo opened this issue 9 months ago • 1 comments

I have 2 SortableContext's in the same DndContext.

My Goal:

  • I need to be able to copy over items from SortableContext 2 to SortableContext 1 (using drag & drop)
  • Items should not be able to move from SortableContext 1 to SortableContext 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!

Ertuyo avatar May 23 '24 08:05 Ertuyo