From 3eb61950c9de8c2d4a2e5667aff64234622520b2 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 12 Mar 2026 18:02:28 -0400 Subject: [PATCH] fix: auto-scroll workspace chat when messages are added Watch currentConversation.messages.length so the chat panel scrolls to the bottom when user messages are appended or assistant messages land, not only while streaming content is updating. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/views/WorkspaceView.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/views/WorkspaceView.vue b/frontend/src/views/WorkspaceView.vue index 106ad41..139bc75 100644 --- a/frontend/src/views/WorkspaceView.vue +++ b/frontend/src/views/WorkspaceView.vue @@ -115,6 +115,7 @@ function scrollToBottom() { } watch(() => chatStore.streamingContent, scrollToBottom); +watch(() => chatStore.currentConversation?.messages.length, scrollToBottom); function togglePanel(panel: keyof typeof panelOpen.value) { const open = panelOpen.value;