metafizzy / metafizzy/infinite-scroll
Load More button breaking towards end of paginated items
Open
- Dominant language
- HTML
- Stars
- 7.5k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Getting the following error:

This seems to happen towards the end of the items.
I am loading in 12 items at a time. When I get to 144/180, it fails to load more items and the error is displayed.
The URL with "page 13" in the error, doesn't exist, but a URL with "page 12" does exist.
Contributor guide
Research direction
Reproduce the failure by loading 12 items at a time and reaching 144 of 180 items. Start with the Load More pagination path and inspect how the next-page URL is calculated near the end; done means the remaining items load without requesting the nonexistent page 13 or displaying an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100