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

dnd useSortable(isDragging), re-order is not working completely with either virtua or react-virtuso

Open ritikaGupta4 opened this issue 1 year ago • 2 comments

I have a use-case: where on dragging an element I was to show a bottom-border over which that active element is getting dragged over. Hence, reorder is not working But due to virtualization, useSortable might lose track of the elements that are virtualized out of the DOM.

Please Refer: virtua: https://codesandbox.io/p/sandbox/7wsm3j react-virtuoso: https://codesandbox.io/p/sandbox/grz2w2 (this is what we currently use in our code base)

You'll observe and red border stops coming after some-point, but i want it to continue. is there a way useSortable gets the track of elements that are virtualized.

ritikaGupta4 avatar Dec 19 '24 16:12 ritikaGupta4

@ritikaGupta4 were you able to find a solution for this?

AliakbarSu avatar Dec 07 '25 20:12 AliakbarSu

@AliakbarSu No, this is still open

ritikaGupta4 avatar Dec 08 '25 03:12 ritikaGupta4