metafizzy / metafizzy/infinite-scroll
Appended content is loaded above button
- Dominant language
- HTML
- Stars
- 7.5k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
When using the "button" loading method, my content was being loaded above the button, requiring the user to scroll up to view new content rather than down. It seems this is due to new browser scroll anchoring behavior. The fix was to add the CSS property `overflow-anchor: none;` to the button container.
Contributor guide
Research direction
Start by locating the button loading method and its button container in the plugin. Reproduce the behavior with appended content, then verify that applying the reported overflow-anchor setting prevents the browser from anchoring above the button. Done means new content appears below the button without requiring the user to scroll up.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript, jquery
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100