From c0f3df04186c1f45dec655336124afcdac510436 Mon Sep 17 00:00:00 2001 From: Roo Code Date: Thu, 4 Dec 2025 04:54:49 +0000 Subject: [PATCH] fix: prevent focus grab when follow-up question is presented --- webview-ui/src/components/chat/ChatView.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index 80b57bfa5f..b62afaa219 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -788,7 +788,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction { - if (!isHidden && !sendingDisabled && !enableButtons) { + if (!isHidden && !sendingDisabled && !enableButtons && clineAsk !== "followup") { textAreaRef.current?.focus() } }, 50, - [isHidden, sendingDisabled, enableButtons], + [isHidden, sendingDisabled, enableButtons, clineAsk], ) useEffect(() => {