Allow specifying scroll behavior on initial chat history load

This commit is contained in:
Gabe Kangas
2022-04-18 23:48:05 -07:00
parent 61b07ab544
commit dc4c905dd1
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ export default class Chat extends Component {
this.handleNetworkingError(`Fetch getChatHistory: ${error}`);
}
this.scrollToBottom();
jumpToBottom(this.scrollableMessagesContainer.current, 'instant');
}
receivedWebsocketMessage(message) {