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

As soon as i click on drag handle it moves away either in top direction or in bottom direction with some offset #840

Open nitish-arora opened 2 years ago

nitish-arora commented 2 years ago

I am using container inside another container (not immediate to its parent but somewhere deep down in parent) sortablecontainer

sortableItem ...... some childs

... so on **sortablecontainer** **sortableItem** **/sortableItem** **/sortablecontainer** **/sortableItem** .... so on **/sortablecontainer** As soon as i click on drag handle it moves in either top or bottom direction with some offset. Moreover its element is getting outside of container even after using lockAxis and locktocontaineredges. I am not able to find any solution for this
variDivash commented 1 year ago

Similar issue on mine too, i am searching for the fixes, but couldn't find any.