react-infinite-scroller
react-infinite-scroller copied to clipboard
⏬ Infinite scroll component for React in ES6
Hey There's a mismatch between the typescript definition and the actual code Environment: `[email protected]` `[email protected]` `[email protected]` `@types/[email protected]` `[email protected]` As written at the documentation: ```typescript import InfiniteScroll from 'react-infinite-scroller'; ``` But...
currently, we only have an option `hasMore` to indicate if we have more options or not. In the code, we have `hasMore &&` to show or not the `Loader`(spinner). The...
I have a question, in my use case, I render as children of the component embedded tweets using this library: https://github.com/capaj/react-tweet-embed. I am having a problem, the request to get...
this.props.onLoadMore(this.state.skip)} hasMore={this.state.hasMoreItems} loader={} >
In [L152](https://github.com/CassetteRocks/react-infinite-scroller/blob/master/src/InfiniteScroll.js#L152) ``` js offset = el.scrollHeight - el.parentNode.scrollTop - el.parentNode.clientHeight; ``` if `el` has brother node before it,the offset may calculated less than actuality,i think it should add el.offsetTop,like:...
If loadMore is taking time the Ui gets stuck rather than showing loader.
offset less than zero when component load 10 pages, then i reload less data, for example 1 page. this behavior will tigger loadMore function, this mean load one more page....
Is there a UMD version?
### Overview This PR adds support for React 19. I believe everything is covered. Any more testing / peer reviews would be appreciated 🙏
React 19 has been released 6 weeks ago. Would it be possible to release a new version of react-infinite-scroller that also supports React 19? Thank you and thanks for react-infinite-scroller,...