Forums Forums Search & Filter Pro Isotope/Masonry infinite scroll append on reload

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #151733

    My blog with a filter is using Jquery Isotope for it’s layout. I’m using the infinite scroll feature to ajax load more posts.

    		$(document).on("sf:ajaxfinish", ".searchandfilter", function(){
    			console.log('ajax complete');
    	                $grid.isotope('reloadItems');
    		});
    

    Is there an array of the next posts to load so that I can the isotope append feature instead of reload? The reload method means the pages jumps whereas the append method just flows from the bottom of the last post.
    https://isotope.metafizzy.co/v2/methods.html#appended

    Trevor
    #151887

    I think the query simply makes the next posts available as a list/array of ID numbers.

    If you are looking at isotope, others here have posted code snippets:

    https://support.searchandfilter.com/forums/search/.isotope/

Viewing 2 posts - 1 through 2 (of 2 total)