From 87044dde245483fc7e2098facbb97cd1077639f1 Mon Sep 17 00:00:00 2001 From: Roo Code Date: Mon, 17 Nov 2025 14:43:39 +0000 Subject: [PATCH] fix: reset cancel button state when streaming ends or task changes - Reset didClickCancel flag when streaming transitions from active to inactive - Reset didClickCancel flag when switching between tasks - Reset didClickCancel flag during chat reset operations - Fixes issue where cancel button remained inactive after clicking cancel Fixes #9303 --- webview-ui/src/components/chat/ChatView.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index 9adf603ee4..3494fbda68 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -414,6 +414,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction