From 7c7dbaf21d05a5d776b4b12310ee56d6b1e61799 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Mon, 17 Aug 2026 22:19:52 +0200 Subject: [PATCH] fix(agent): keep the chat composer focused while streaming Disabling the textarea for the duration of a response made the browser blur it, so the caret left the composer on every send and had to be clicked back. send() already ignores calls mid-stream, so Enter stays a no-op and type-ahead works. --- apps/web/src/routes/agent/-components/agent-chat.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/web/src/routes/agent/-components/agent-chat.tsx b/apps/web/src/routes/agent/-components/agent-chat.tsx index dc0596248..272e7ddea 100644 --- a/apps/web/src/routes/agent/-components/agent-chat.tsx +++ b/apps/web/src/routes/agent/-components/agent-chat.tsx @@ -1079,7 +1079,9 @@ function AgentChatComposer({