diff options
-rw-r--r-- | src/client/views/nodes/ChatBox/ChatBox.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/ChatBox/ChatBox.tsx b/src/client/views/nodes/ChatBox/ChatBox.tsx index 4a98f8dc1..1366eb772 100644 --- a/src/client/views/nodes/ChatBox/ChatBox.tsx +++ b/src/client/views/nodes/ChatBox/ChatBox.tsx @@ -150,6 +150,7 @@ export class ChatBox extends ViewBoxAnnotatableComponent<FieldViewProps>() { scrollToBottom = () => { if (this.messagesRef.current) { + this.messagesRef.current.scrollTop = this.messagesRef.current.scrollHeight; } }; |