Masonry Plugin: Resizing div wont cause reshuffle
问题 Have Masonry items wrapped in 1000px wide div, I have a button to resize the div to 2000x using jQuery's addClass() , problem is Masonry won't reshuffle the items to fill the extra 1000px space, I know the resize works because resizing the browser window causes a reshuffle. Masonry: $(function(){ $('#container').masonry({ // options itemSelector : '.item', columnWidth : 240 }); }); Button: $("a.button").toggle(function(){ $(this).addClass("flip"); $("div#container").fadeOut("fast", function()