From 358519db3899dfa151a6ea556d22e07487cef598 Mon Sep 17 00:00:00 2001 From: NaccOll Date: Tue, 16 Sep 2025 10:43:31 +0800 Subject: [PATCH] Fix context menu is obscured when edit message. (#7951) --- webview-ui/src/components/chat/ChatTextArea.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/webview-ui/src/components/chat/ChatTextArea.tsx b/webview-ui/src/components/chat/ChatTextArea.tsx index 3cc91b9a20..ff6b2a0234 100644 --- a/webview-ui/src/components/chat/ChatTextArea.tsx +++ b/webview-ui/src/components/chat/ChatTextArea.tsx @@ -908,12 +908,12 @@ export const ChatTextArea = forwardRef( return (
-
+
{ // Only allowed to drop images/files on shift key pressed. @@ -945,10 +945,10 @@ export const ChatTextArea = forwardRef( className={cn( "absolute", "bottom-full", - "left-0", + isEditMode ? "left-6" : "left-0", "right-0", "z-[1000]", - "mb-2", + isEditMode ? "-mb-3" : "mb-2", "filter", "drop-shadow-md", )}>