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 496b58c commit e88b652Copy full SHA for e88b652
src/InfiniteScroll.js
@@ -89,7 +89,8 @@ export default class InfiniteScroll extends Component {
89
}
90
91
getParentElement(el) {
92
- const scrollParent = this.props.getScrollParent();
+ const scrollParent =
93
+ this.props.getScrollParent && this.props.getScrollParent();
94
if (scrollParent != null) {
95
return scrollParent;
96
0 commit comments