@@ -947,7 +947,8 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
947947 "bg-transparent border-none p-1.5" ,
948948 "rounded-md min-w-[28px] min-h-[28px]" ,
949949 "text-vscode-foreground opacity-85" ,
950- "transition-all duration-150" ,
950+ // Fixed: Use specific transition to prevent flashing
951+ "transition-opacity duration-100" ,
951952 "hover:opacity-100 hover:bg-[rgba(255,255,255,0.03)] hover:border-[rgba(255,255,255,0.15)]" ,
952953 "focus:outline-none focus-visible:ring-1 focus-visible:ring-vscode-focusBorder" ,
953954 "active:bg-[rgba(255,255,255,0.1)]" ,
@@ -969,7 +970,8 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
969970 "bg-transparent border-none p-1.5" ,
970971 "rounded-md min-w-[28px] min-h-[28px]" ,
971972 "text-vscode-foreground opacity-85" ,
972- "transition-all duration-150" ,
973+ // Fixed: Use specific transition to prevent flashing
974+ "transition-opacity duration-100" ,
973975 "hover:opacity-100 hover:bg-[rgba(255,255,255,0.03)] hover:border-[rgba(255,255,255,0.15)]" ,
974976 "focus:outline-none focus-visible:ring-1 focus-visible:ring-vscode-focusBorder" ,
975977 "active:bg-[rgba(255,255,255,0.1)]" ,
@@ -1101,8 +1103,9 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
11011103 "relative inline-flex items-center justify-center" ,
11021104 "bg-transparent border-none p-1.5" ,
11031105 "rounded-md min-w-[28px] min-h-[28px]" ,
1104- "opacity-60 hover:opacity-100 text-vscode-descriptionForeground hover:text-vscode-foreground" ,
1105- "transition-all duration-150" ,
1106+ // Fixed: Consistent with send button fix to prevent flashing
1107+ "opacity-75 hover:opacity-100 text-vscode-descriptionForeground hover:text-vscode-foreground" ,
1108+ "transition-opacity duration-100" ,
11061109 "hover:bg-[rgba(255,255,255,0.03)] hover:border-[rgba(255,255,255,0.15)]" ,
11071110 "focus:outline-none focus-visible:ring-1 focus-visible:ring-vscode-focusBorder" ,
11081111 "active:bg-[rgba(255,255,255,0.1)]" ,
@@ -1124,8 +1127,12 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
11241127 "relative inline-flex items-center justify-center" ,
11251128 "bg-transparent border-none p-1.5" ,
11261129 "rounded-md min-w-[28px] min-h-[28px]" ,
1127- "opacity-60 hover:opacity-100 text-vscode-descriptionForeground hover:text-vscode-foreground" ,
1128- "transition-all duration-150" ,
1130+ // Fixed: Removed opacity transitions that were causing flashing
1131+ // Changed from opacity-60 to opacity-75 for better visibility
1132+ // Removed transition-all to prevent unwanted animations
1133+ "opacity-75 hover:opacity-100 text-vscode-descriptionForeground hover:text-vscode-foreground" ,
1134+ // Use transition only for specific properties to avoid flashing
1135+ "transition-opacity duration-100" ,
11291136 "hover:bg-[rgba(255,255,255,0.03)] hover:border-[rgba(255,255,255,0.15)]" ,
11301137 "focus:outline-none focus-visible:ring-1 focus-visible:ring-vscode-focusBorder" ,
11311138 "active:bg-[rgba(255,255,255,0.1)]" ,
0 commit comments