paulirish/infinite-scroll — pull request #229 by sophistry (2012-10-09 21:30:43+00:00)
Title: style wrapping div that becomes visible during loading

Hi Paul,

Thanks for your nice work. I came on this problem with appended elements to a table. The div was causing the elements on the page to "squeeze" over when it was displayed during the loading phase. So, I added a style option to the wrapping to. This fixes "squeeze" effect when div causes reflow of elements.

I am not sure this is the best solution, but it allowed me to fix the weird compressing visual effect when the div became visible in the element flow.

If there is a better way to do this with the existing code... I am all ears!

Thanks,
Daniel