react-infinite-scroller
react-infinite-scroller copied to clipboard
'Threshold' prop is not working, the value passed has no effect in behaviour
<InfiniteScroll
pageStart={0}
threshold = {0.7*window.innerHeight }
loadMore={() => this.props.onLoadMore(this.state.skip)}
hasMore={this.state.hasMoreItems}
loader={<div className="ui active centered inline loader padded" style={{'marginBottom':'2rem'}}/>}
>
I recently updated the issue templates on this repo so that I can identify the bugs with this repo.
Please clone your layout and use of react-infinite-scroller by forking this Code Sandbox and linking it here. Doing so will massively expedite getting the bug fixed! 👊