clauderic / react-sortable-hoc

A set of higher-order components to turn any list into an animated, accessible and touch-friendly sortable list✌️
https://clauderic.github.io/react-sortable-hoc/
MIT License
10.77k stars 978 forks source link

How to detect the boundary of the collection of current being dragged row? #861

Open zhaoyao91 opened 1 year ago

zhaoyao91 commented 1 year ago

we have a draggable list composed of multiple collections. when dragging a row into another collection, it will be sorted to the most top or bottom position, but we hope it retain the old position. how can we implement this with react-sortable-hoc?

NemoZhong commented 1 year ago

give the container a style overflow: auto; can solve the problem