Skip to content

Commit d1f0ef2

Browse files
nickchomeyCopilot
andauthored
Update webview-ui/src/components/chat/ChatTextArea.tsx
Co-authored-by: Copilot <[email protected]>
1 parent 1364316 commit d1f0ef2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

webview-ui/src/components/chat/ChatTextArea.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,13 @@ export const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
955955
setIsMouseDownOnMenu(true)
956956
}, [])
957957

958-
// Highlight overlay removed - mentions are now shown in ContextPillsBar instead
958+
// The visual highlight overlay for mentions within the textarea was removed.
959+
// Previously, mentions were visually highlighted directly in the textarea as users typed.
960+
// This functionality was removed to simplify the input UI and improve maintainability.
961+
// Mentions are now visually represented in the ContextPillsBar component above the textarea,
962+
// providing a clearer and more accessible way to view and manage mentions in the message.
963+
// If visual highlighting in the textarea is needed in the future, refer to previous implementations
964+
// prior to this change for guidance.
959965

960966
const updateCursorPosition = useCallback(() => {
961967
if (textAreaRef.current) {

0 commit comments

Comments
 (0)