diff options
author | A.J. Shulman <Shulman.aj@gmail.com> | 2024-08-20 15:17:31 -0400 |
---|---|---|
committer | A.J. Shulman <Shulman.aj@gmail.com> | 2024-08-20 15:17:31 -0400 |
commit | 9da46dd6b00bf4a9f733001fbe43edcf586fc634 (patch) | |
tree | 3d8e0ba48314ac83d6b31a6652939d25d43310b5 /src | |
parent | 4c0c7794c85cfdbcd61a7ee5cb9a29494fd0444b (diff) |
Update ChatBox.tsx
Diffstat (limited to 'src')
-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; } }; |