Comments (2)
Sorry I missed this issue. I was just pinged by @nidhi-ag asking about this on the original repo.
On mount, we attach the scroll listener and also call it manually. This is to load the first set of items. You could disable it by setting pageStart
to -1 and then checking whether the pageToLoad
parameter of your loadMore
function is greater than 0.
This has been asked before in #11
from react-infinite-scroller.
Facing Same issue. Any luck with the solution?
from react-infinite-scroller.
Related Issues (20)
- loadMore function does not fire with table HOT 3
- The demo is not working... HOT 2
- Imports failure while building with Vite HOT 1
- Is it possible to reset the start page when requesting new data or switching the filter? HOT 2
- bug: changing hasMore before you scroll down doesnt update component HOT 1
- useWindow={true} not working HOT 2
- loadmore and then, scroll return the firstpage HOT 1
- Support TypeScript HOT 1
- New data doesn't get fetched when there´s no scrollbar HOT 4
- Upgrading to React 18 breaks remove event listeners. HOT 7
- support virtual dom HOT 2
- Pull to refresh not works on latest versions HOT 1
- Add feature to render it as a React Fragment with the element prop HOT 1
- Why is `page` prop called `page`?
- Virtual dom
- How to pull up the element and get data from last page?
- getScrollParent doesn't work with ref, but works with id HOT 1
- RollupError: "default" is not exported by "node_modules/react-infinite-scroller/index.js"
- isReverse broken with combination of column-reverse HOT 4
- Warning: Each child in a list should have a unique "key" prop. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-infinite-scroller.