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.81k stars 979 forks source link

Item Pushed to the Right Instead of Down #805

Open haaayok opened 3 years ago

haaayok commented 3 years ago

When there's plenty of space on the right side of the sortable list, an item dragged from a lower row to a higher row pushes the items to the right instead of down. Here's an image illustrating this behavior. pushBehavior

This is the link to the project from which the behavior above is observed.

Is there any way to make sure the items don't get pushed outside of its parent container?

j787701730 commented 3 years ago

The same question

oyatek commented 2 years ago

Same question but in my case I have 1 horizontal row of images and the images are pushed vertically outside of the parent container. How can I stop this?

shahidul-inverseai commented 2 years ago

Same question but in my case I have 1 horizontal row of images and the images are pushed vertically outside of the parent container. How can I stop this?

I am getting same issue. Have you found solution? Could you please share?

oyatek commented 2 years ago

No solution yet :(