Co-authored-by: Germain <germain@souquet.com>
This commit is contained in:
David Baker 2021-07-27 09:29:32 +01:00 committed by GitHub
parent f20da6d3de
commit e5d538412b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -363,7 +363,7 @@ export default class ScrollPanel extends React.Component<IProps> {
// so we can trigger a new chain of calls once done. // so we can trigger a new chain of calls once done.
// However, we make an exception for when we're already filling due to a // However, we make an exception for when we're already filling due to a
// props (or children) update, because very often the children include // props (or children) update, because very often the children include
// spinners to say whether we're pagainating or not, so this would cause // spinners to say whether we're paginating or not, so this would cause
// infinite paginating. // infinite paginating.
if (isFirstCall) { if (isFirstCall) {
if (this.isFilling && !this.isFillingDueToPropsUpdate) { if (this.isFilling && !this.isFillingDueToPropsUpdate) {