We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f1598a commit b8e8e60Copy full SHA for b8e8e60
src/InfiniteScroll.js
@@ -96,7 +96,7 @@ export default class InfiniteScroll extends Component {
96
}
97
98
// Here we make sure the element is visible as well as checking the offset
99
- if(offset < Number(this.props.threshold) && el.offsetParent !== null``) {
+ if(offset < Number(this.props.threshold) && el.offsetParent !== null) {
100
this.detachScrollListener();
101
// Call loadMore after detachScrollListener to allow for non-async loadMore functions
102
if(typeof this.props.loadMore == 'function') {
0 commit comments