1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00
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

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.
// However, we make an exception for when we're already filling due to a
// 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.
if (isFirstCall) {
if (this.isFilling && !this.isFillingDueToPropsUpdate) {