infinite-scroll
infinite-scroll copied to clipboard
prefill loads data endlessly when container has display:none
https://github.com/metafizzy/infinite-scroll/blob/370f7863ab61e6917a53b419649eb51254d8ffeb/js/page-load.js#L264 If container has display:none, then this.element.clientHeight is always 0. So prefill never stops.
Is this still a problem? Maybe I can help out?
I abandoned the standard prefill option and do prefill manually. So for me the problem is solved, although it is not very convenient.