DrewDahlman / Mason

Mason.js for creating a perfect grid with jQuery.
http://masonjs.com/
MIT License
1.22k stars 184 forks source link

Blocks not filling in space #59

Closed dreamxcape closed 7 years ago

dreamxcape commented 8 years ago

Hi,

I'm having trouble getting the masonry to work right. Sometimes, my rows aren't being completely filled by blocks, and an empty block is rendered. For example, I've set the sizes to be [1,1] and [2,1]. But sometimes, when a [2,1] block is rendered on a row, there should be space for a [1,1] block on the right; but in my case it's an empty space.

Here's an example of my issue: http://paperscrunch.com/mason-test/

Any idea why this is happening? Am I doing something wrong? Or is it an issue with bootstrap?

DrewDahlman commented 8 years ago

Just quickly looking at this it may be an issue with the transitions - seems that is causing mis-counts so it isn't filling the space properly.

heaversm commented 8 years ago

I'm having trouble with fillers too - it doesn't seem to be inserting any. Are we supposed to put the filler dom elements in manually or is it supposed to insert them dynamically. Either way, I can't seem to get them to render to cover gaps.

DrewDahlman commented 7 years ago

Working through issues tonight.

Mason will do 1 of 2 things: