desandro / masonry

:love_hotel: Cascading grid layout plugin
https://masonry.desandro.com
16.28k stars 2.11k forks source link

why does masonry randomly swaps items between them #1114

Open catalin560 opened 4 years ago

catalin560 commented 4 years ago

So I have a 3 column grid, each item has the same width and roughly the same height, but for some reason the plugin doesn't order them in their original order like for example swapping #3 with #4 etc. Is there a way to keep original order?

catalin560 commented 4 years ago

horizontalOrder: true doesn't help either

catalin560 commented 4 years ago

no one? @desandro @tdreyno @kant @kovshenin

catalin560 commented 4 years ago

hello! @tdreyno @kant @desandro @kovshenin

vulkanus commented 4 years ago

I think this project is dead, no one answered to the issues, I dont know what's happening

baticodes commented 4 years ago

I came here with the same issue and horizontalOrder: true did the trick for me.

hamza-topo commented 2 years ago

horizontalOrder: true works for me fine

MatthieuScarset commented 2 months ago

Still having this error in 2024 on masonry 4.2.2.

+1 for this fix which fix the error in the grid item order: horizontalOrder: true.