Merge pull request #3545 from tylershuster/image-jump

chat: fixes message jump
This commit is contained in:
matildepark 2020-09-22 16:49:26 -04:00 committed by GitHub
commit fccaffa002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,6 @@ export default class ChatWindow extends Component<ChatWindowProps, ChatWindowSta
if (stationPendingMessages.length !== prevProps.stationPendingMessages.length) {
this.virtualList?.calculateVisibleItems();
this.virtualList?.scrollToData(mailboxSize);
}
if (!this.state.fetchPending && prevState.fetchPending) {