metafizzy / packery

:bento: Gapless, draggable grid layouts
https://packery.metafizzy.co
4.13k stars 315 forks source link

Some elements are not being placed in 2 columns everytime #544

Closed Aunger3 closed 4 years ago

Aunger3 commented 4 years ago

Test case: http://codepen.io/desandro/pen/QyrEgX

I want the elements selected by the category drop down into 2 columns. It does place the elements in 2 columns some time but other times it places all of the elements into 1 column. I would appreciate any help with this thank you.

This is what I want for all the posts that are in the category or year selected to do

what I want

This is what happens sometimes and is not what I want

what I get