diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index a4f18c870c..7789ba854d 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -1447,7 +1447,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction +
)} @@ -1474,86 +1474,91 @@ const ChatViewComponent: React.ForwardRefRenderFunction - - {showScrollToBottom ? ( -
+ {/* Fixed positioning for AutoApproveMenu to prevent layout shifts */} +
+ +
+ + {/* Consistent spacing and styling for action buttons area */} +
+ {showScrollToBottom ? ( -
{ scrollToBottomSmooth() disableAutoScrollRef.current = false }}> - -
+ +
-
- ) : ( -
- {primaryButtonText && !isStreaming && ( - + {primaryButtonText && !isStreaming && ( + - handlePrimaryButtonClick(inputValue, selectedImages)}> - {primaryButtonText} - - - )} - {(secondaryButtonText || isStreaming) && ( - - handleSecondaryButtonClick(inputValue, selectedImages)}> - {isStreaming ? t("chat:cancel.title") : secondaryButtonText} - - - )} -
- )} + t("chat:proceedAnyways.title") + ? t("chat:proceedAnyways.tooltip") + : primaryButtonText === + t("chat:proceedWhileRunning.title") + ? t("chat:proceedWhileRunning.tooltip") + : undefined + }> + handlePrimaryButtonClick(inputValue, selectedImages)}> + {primaryButtonText} + + + )} + {(secondaryButtonText || isStreaming) && ( + + handleSecondaryButtonClick(inputValue, selectedImages)}> + {isStreaming ? t("chat:cancel.title") : secondaryButtonText} + + + )} +
+ )} + )}