Automattic / Automattic/jetpack
Infinite scroll - when on paged home page, allow IS to load previous posts when scrolling up.
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
Hello,
I configured to have 'wrapper' => false , because of this bug: https://github.com/Automattic/jetpack/issues/222
But now another bug.
Let's say I load 12 posts at startup and next posts are loaded via IS.
I'm at the post 30 (loaded by IS).
When I refresh page, browser will took me to the post 12, because max height of the window.
I'm looking for the way to simulate scrolling down so IS will load more posts and then I will use jquery scrollTop function.
Tested on TwentyFourteen, Twentysixteen, pinboard and my theme.
Contributor guide
Research direction
Reproduce the refresh and upward-scrolling behavior with wrapper=false on the listed themes, starting with the infinite-scroll implementation and its interaction with the paged home page. Done means a refresh can restore a post beyond the initially loaded set by loading earlier posts as needed when scrolling up.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100