Commit 3790790a authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: possible fix for #1139

parent 5a567ce4
...@@ -140,7 +140,9 @@ ...@@ -140,7 +140,9 @@
}; };
const scrollToBottom = () => { const scrollToBottom = () => {
if (messagesContainerElement) {
messagesContainerElement.scrollTop = messagesContainerElement.scrollHeight; messagesContainerElement.scrollTop = messagesContainerElement.scrollHeight;
}
}; };
////////////////////////// //////////////////////////
......
...@@ -160,7 +160,9 @@ ...@@ -160,7 +160,9 @@
}; };
const scrollToBottom = () => { const scrollToBottom = () => {
if (messagesContainerElement) {
messagesContainerElement.scrollTop = messagesContainerElement.scrollHeight; messagesContainerElement.scrollTop = messagesContainerElement.scrollHeight;
}
}; };
////////////////////////// //////////////////////////
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment