metafizzy / metafizzy/infinite-scroll

Page refresh causes error

Open
#948 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
7.5k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

We are using version v4.0.1
Whenever we refresh a page with InfiniteScroll on it it give us the following error:

**Bad InfiniteScroll path option. Next link not found: .next a**

But if you enter the page url and load it for the first time, no errors!
Please advise.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the refresh behavior with InfiniteScroll v4.0.1 and the `.next a` path, comparing a refreshed page with a direct URL load. Done means refreshing a page with InfiniteScroll no longer raises “Bad InfiniteScroll path option” when the next link is expected.

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
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.