react-bidirectional-infinite-scroll
react-bidirectional-infinite-scroll copied to clipboard
Bidirectional infinite scroll written using react
Discovered issue when children are removed from the component. Results in this error ``` Uncaught TypeError: Cannot read property 'offsetTop' of null at _default._this.handleVerticalScroll (component.js:72) at _this.handleScroll (component.js:94) ``` Now...
When I'm trying to install the package, I get the following error: ``` $ yarn add react-bidirectional-infinite-scroll yarn add v1.15.2 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... error [email protected]:...
Got below error trying to install the package. npm ERR! Could not resolve dependency: npm ERR! peer react@"15.x || 16.x" from [email protected] See below screen shot: ![Screen Shot 2021-03-07 at...
.. so component does need to reach 0 or max in order to callback