eiriklv/react-masonry-component

Horizontal ordering issue

Closed this issue · 1 comments

Hi,

I'm having some issues with ordering. Some of my elements are twice the height than the rest, other than that I have a pretty standard, fixed-column-width setup:

{
  columnWidth: 222,
  gutter: 24,
  horizontalOrder: true
  itemSelector: '.some-selector'
}

Note in the screenshot how the order breaks after the 6th tile...
Has anybody experienced anything similar? Any idea on how to approach this

screen shot 2018-03-06 at 18 17 13

afram commented

Hi Gordan, I don't think this is broken, this is how Masonry works.

What does it look like without the horizontalOrder option?

According to Masonry docs, horizontalOrder will (mostly) keep horizontal ordering.

https://masonry.desandro.com/options.html#horizontalorder