Skip to content

fix: reconnect infinite scroll observer on data change - #435

Open
Dhritimann wants to merge 1 commit into
ankeetmaini:masterfrom
Dhritimann:fix/end-key-infinite-scroll
Open

Dhritimann wants to merge 1 commit into
ankeetmaini:masterfrom
Dhritimann:fix/end-key-infinite-scroll

Conversation

@Dhritimann

Copy link
Copy Markdown

Fixes #429

When dataLength changes, the IntersectionObserver is recreated so that
infinite scrolling can continue when the sentinel remains visible after
new content is loaded.

Added a regression test to verify the observer reconnects when
dataLength changes.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v7.0 stops working if holding "End" key

1 participant