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

nested SortableContexts onDrag End

Open zthomas1 opened this issue 1 year ago • 0 comments

I have a scenario where I have multiple SortableContexts nested inside of a single DndContext.

Imagine this setup:

dndContext --sortableContext id="1" ----sortableContext id="2" ------sortableContext id="3"/ ----/sortableContext --/sortableContext /dndContext

no matter which sortableContext my drag item is dropped onDragEnd provides over.data.current.sortable is always id 1.

This is not helpful.

Any advice?

zthomas1 avatar Feb 13 '24 21:02 zthomas1