fix(lobby) fix opening lobby chat after API change

This commit is contained in:
Saúl Ibarra Corretgé 2022-09-01 20:05:35 +02:00 committed by Дамян Минков
parent adcd9a501b
commit b535b8c583
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ class LobbyScreen extends AbstractLobbyScreen<Props> {
*/
_scrollMessageContainerToBottom(withAnimation) {
if (this._messageContainerRef.current) {
this._messageContainerRef.current.scrollToBottom(withAnimation);
this._messageContainerRef.current.scrollToElement(withAnimation);
}
}
}