Fix regression around haveRendererForEvent for hidden events (#8379)

This commit is contained in:
Michael Telatynski 2022-04-21 17:57:08 +01:00 committed by GitHub
parent 399ac618c7
commit bbe0c945d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 9 deletions

View file

@ -452,14 +452,6 @@ export default class MessagePanel extends React.Component<IProps, IState> {
}
}
/* check the scroll state and send out pagination requests if necessary.
*/
public checkFillState(): void {
if (this.scrollPanel.current) {
this.scrollPanel.current.checkFillState();
}
}
private isUnmounting = (): boolean => {
return !this.isMounted;
};