jaredpalmer / jaredpalmer/react-simple-infinite-scroll

Bug? If all items from initial batch fit to screen, loadMore is never triggered

Open
#9 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
141
Forks
25
PR merge metrics
No merged PRs in 30d

Description

I just started tinkering with this, so sorry if I've missed something, but at least with my current setup I have this issue: If all items from initial batch fit to screen, scrolling bar doesn't exist and loadMore is never triggered. If I resize the window smaller to make the window scrollable, loadMore is triggered again.

Contributor guide

No contributing guide indexed for this repository

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

No file or test is named in the issue. Reproduce the case where the initial batch fits entirely in the viewport, then inspect the infinite-scroll component's loadMore trigger path; done means loading continues without requiring a window resize or scrollbar.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.