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

🚀 Improve amp-list loadMore behavior #30851

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

zhouyx
Copy link
Contributor

@zhouyx zhouyx commented Oct 23, 2020

The infinitely scroll behavior try to load more content when the bottom of the list is 3 viewport height away. if one scroll pass the list we should stop loading more content to save resources.

Test is unrelated to the change. But it's a fix.

@zhouyx zhouyx removed the request for review from samouri October 23, 2020 23:30
@zhouyx zhouyx merged commit d140ea4 into ampproject:master Oct 26, 2020
@zhouyx zhouyx deleted the amp-list-improvement branch October 26, 2020 18:27
ed-bird pushed a commit to ed-bird/amphtml that referenced this pull request Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants