From ad848acb62b649ccd0dbd6f34339bd2a8d22a31c Mon Sep 17 00:00:00 2001 From: Roo Code Date: Sat, 26 Jul 2025 23:32:19 +0000 Subject: [PATCH] fix: Remove non-functional spellCheck attribute and document VSCode webview limitation - Removed spellCheck={true} from ChatTextArea as it does not work in VSCode webviews - Added comment explaining the limitation with reference to VSCode issue #30180 - This addresses the concern raised by @mrubens about spell check not working --- webview-ui/src/components/chat/ChatTextArea.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webview-ui/src/components/chat/ChatTextArea.tsx b/webview-ui/src/components/chat/ChatTextArea.tsx index c6cdfd9eec..9fe8e520a6 100644 --- a/webview-ui/src/components/chat/ChatTextArea.tsx +++ b/webview-ui/src/components/chat/ChatTextArea.tsx @@ -1076,7 +1076,9 @@ const ChatTextArea = forwardRef( minRows={3} maxRows={15} autoFocus={true} - spellCheck={true} + // Note: spellCheck doesn't work in VSCode webviews due to platform limitations + // The native browser spell check functionality is disabled in VSCode's webview environment + // See: https://github.com/microsoft/vscode/issues/30180 className={cn( "w-full", "text-vscode-input-foreground",