packery icon indicating copy to clipboard operation
packery copied to clipboard

How to prevent grid size from expanding when dragging an item outside of its current dimensions?

Open GirkovArpa opened this issue 5 years ago • 3 comments

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.

GirkovArpa avatar Jul 07 '20 16:07 GirkovArpa

+1

kedor89 avatar Feb 24 '21 11:02 kedor89

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

jagruti-solanki23 avatar Jul 02 '21 09:07 jagruti-solanki23

+1

chevas avatar Aug 30 '23 22:08 chevas