metafizzy / metafizzy/infinite-scroll

Destroy scroll instance

Open
#945 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
7.5k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I was using Infinite Scroll. My case is to destroy the scroll but it doesn't destroy scroll load event and then initial new scroll when choosing the option for getting data on page. While I get data, I listen load event for next page get rendered. It's bind many load event. and rennder duplicated element. Please help!

Thank you so much

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by creating the required reduced test case from a CodePen example in the docs, or provide a live URL showing destroy followed by reinitialization. Trace the destroy behavior and load-event binding, then verify that reinitializing does not retain old listeners or render duplicate elements.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.