Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(body): relax stipulations for fetching next page
Previously, we were only fetching the next page if the scrollHeight was exactly equal to the scrollTop + the offsetHeight. It looks like this calculation was thrown off by style changes and the scroll-x bar. We now include a 'buffer' into the calculation. If the scrollHeight is within 10px of the scrollTop + offsetHeight, we attempt to fetch (barring that we have already `fetchedAll`)
- Loading branch information