chat: fixes message jump

This commit is contained in:
Tyler Brown Cifu Shuster 2020-09-22 13:28:51 -07:00
parent 75f78c20f2
commit 96111552e9

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) {