Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Make the unpagination process less aggressive #567

Merged
merged 3 commits into from
Nov 22, 2016

Conversation

lukebarnard1
Copy link
Contributor

@lukebarnard1 lukebarnard1 commented Nov 22, 2016

This increases UNPAGINATION_PADDING (see the ASCII on ScrollPanel.js, _getExcessHeight), and also debounces unfilling requests made for 200ms. This forces unfilling requests not to be sent unless the next 200ms has no scrolling, effectively.

This PR is in response to the growing number of issues surrounding scrolling/pagination since #554

This increases `UNPAGINATION_PADDING` (see the ASCII on ScrollPanel.js, `_getExcessHeight`), and also debounces unfilling requests made for 200ms. This forces unfilling requests not to be sent unless the next 200ms has no scrolling, effectively.
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@richvdh richvdh merged commit 422d5c0 into develop Nov 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants