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
This commit is contained in:
Roo Code 2025-07-26 23:32:19 +00:00
parent 97aec2e6b7
commit ad848acb62

View file

@ -1076,7 +1076,9 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
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",