Skip to content

Conversation

@manuganji
Copy link

I had this issue. The page loads with a show_more link at the end. When show_more link is clicked, it's loading the next page of items via ajax but this doesn't happen automatically as it should be when we set paginateOnScroll:true. StackOverflow Question here

For on scroll pagination. It's not working with win.scroll. I switched it to doc.scroll and it's working fine. 

Also, I didn't see any reason 'doc' should not be a local variable instead of a global. so put a 'var' in front of it. 

These changes are working fine for my use case. i.e. twitter style on-scroll pagination.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant