From 9da46dd6b00bf4a9f733001fbe43edcf586fc634 Mon Sep 17 00:00:00 2001 From: "A.J. Shulman" Date: Tue, 20 Aug 2024 15:17:31 -0400 Subject: Update ChatBox.tsx --- src/client/views/nodes/ChatBox/ChatBox.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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() { scrollToBottom = () => { if (this.messagesRef.current) { + this.messagesRef.current.scrollTop = this.messagesRef.current.scrollHeight; } }; -- cgit v1.2.3-70-g09d2