Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loop if loadmore call results are empty and content not added in Chrome #364

Open
pavelg opened this issue Jun 2, 2017 · 0 comments

Comments

@pavelg
Copy link

pavelg commented Jun 2, 2017

looks like the similar problem is in #186
bit now we have this only in Chrome browser

So, as soon as request finishes and we do nothing, the new loadMore event is triggered endlessly
UPD: it happens if scroll is fast, on scrolling down slowly it stops calling defaultHandler

Problem cause is Chrome's scroll anchoring
Temp fix is to apply overflow-anchor: none to parent container

@pavelg pavelg changed the title Infinite loop if results are empty and content not added in Chrome Infinite loop if loadmore call results are empty and content not added in Chrome Jun 2, 2017
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

No branches or pull requests

1 participant