metafizzy / metafizzy/infinite-scroll

Optimize pages - Remove out of view pages from dom

Open
#817 2 comments 1 reaction 0 assignees View on GitHub
feature request
Dominant language
HTML
Stars
7.5k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Hi,
Are the pages removed from dom once the user scrolls past a certain number on?
If there are hundred of pages, keeping all the pages in dom will be memory consuming especially on mobile.
Are there any plans to add the feature to remove pages from dom and add a prepend functionality of user scrolls back up?

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Review the infinite-scroll page lifecycle and existing issue discussion first, then determine the intended removal and restoration behavior for pages outside the viewport. Done should include an agreed memory-saving behavior that preserves scrolling when users move back up.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.