kutlugsahin / smooth-dnd

drag and drop library for javascript
MIT License
611 stars 148 forks source link

Ghost is taking space between two vertical lists #8

Closed pbelyaev closed 6 years ago

pbelyaev commented 6 years ago

If you place two lists vertically and try to move one item from the first list to the second list the ghost will remain in the first list. It will generate an empty gap between two lists. Check the video out to see how it looks.

https://cl.ly/3E2l3z3b043E

kutlugsahin commented 6 years ago

Hi @pbelyaev, That is because the container size remains the same when the dragged item is out of the container boundaries. That's by design now and make sense unless you want multiple containers placed one another act like one. Why not using one container instead of placing many vertically?