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

Under the "sortable" module, elements with different heights cannot be sorted effectively.

Open Ryuurock opened this issue 1 year ago • 5 comments

https://github.com/clauderic/dnd-kit/assets/25604544/58282b99-1fe0-4dd7-8d4c-7fd7769f312f

sandbox: https://codesandbox.io/p/sandbox/dndkit-sortable-8km3q7?file=%2Fsrc%2FApp.js%3A63%2C6

Ryuurock avatar Dec 06 '23 03:12 Ryuurock

Looking at this issue since I've found the same problem when having draggable item with height depending from the content.

dicrescenzoa avatar Dec 13 '23 14:12 dicrescenzoa

I'm facing the same issue, has anyone found a solution?

omar-shahid avatar May 12 '24 06:05 omar-shahid

Same problem.

chenxuanzong avatar Jun 26 '24 03:06 chenxuanzong

same issue, any solution?

musetraine avatar Aug 22 '24 12:08 musetraine

Whoever encounters this bug try adding this collisionDetection={closestCenter} to DndContext

musetraine avatar Aug 22 '24 12:08 musetraine