Nested icon indicating copy to clipboard operation
Nested copied to clipboard

minWidth + minColum less than 10px breaks everything

Open BonBonSlick opened this issue 8 years ago • 0 comments

I want to add very-very small blocks, thouthands of them. I use this settings

 // Masonry Grid Settings 
 $(function() { 
  $('#container').nested({
    gutter : 0,
    minWidth: 10,
    minColumn: 10,
  }); 
  $('#prepend').click(function(){

    var boxes = makeBoxes();
    $('#container').prepend(boxes).nested({
      prepend : boxes,
      gutter : 0, 
      minWidth: 10,
      minColumn: 10,
      resizeToFit : false, 
      resizeToFitOptions: { 
        resizeAny: false
      },
    });
  });
});

Add 1 small 10x10 pixels block, it is ok, but the next now, if he is more than 10x10 sizes, it breaks everything. Pictures almost does not moving, and each one added, goes as layer. Like a heap....

BonBonSlick avatar Oct 26 '16 18:10 BonBonSlick