packery
packery copied to clipboard
How to prevent grid size from expanding when dragging an item outside of its current dimensions?
Test case: https://packery.metafizzy.co/
In the demo you can keep growing the grid height as long as you keep stacking items on top of each other. I want to prevent this and only allow them to be dragged and dropped within the available space.
+1
Hello,
I faced the same issue. But depending on the grid that I want, I reset the layout after dragging. Ex: https://codepen.io/jagruti23/pen/vYmOVVo
+1