Infinite scroll without plugin using ajax

by Yikko   Last Updated May 15, 2019 18:08 PM

I've created an infinite scroll without using any plugin to achieve the objective. The problem is that the bootstrap masonry cards grid are loading all the posts cards at the first scroll or will load the grid in a wrong way until a scroll event occurs. I'm using the viewport checker jquery plugin that will work nice when the page where I've implemented this is loaded,it will add a fade in animation from the animate.css library, but on the appended elements it vill not work and I need to add the class manually. I want to obtain a smooth fade in effect, is there any fix for this problem?

Related Questions

Updated April 10, 2018 22:08 PM

Updated June 19, 2018 16:08 PM

Updated May 20, 2015 22:03 PM

Updated March 03, 2017 13:08 PM

Updated December 28, 2016 08:03 AM