From 71a57275abf6a21734bb4b64c68a1a049fb37b65 Mon Sep 17 00:00:00 2001 From: Yuichiro Utsumi <81412151+utsumi-fj@users.noreply.github.com> Date: Tue, 11 Mar 2025 17:57:45 +0900 Subject: [PATCH] fix: improve selection of variable in workflow (#15484) Signed-off-by: Yuichiro Utsumi --- .../nodes/_base/components/variable/var-reference-vars.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx b/web/app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx index 3b7845003a..cd5aba63f7 100644 --- a/web/app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx +++ b/web/app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx @@ -109,6 +109,7 @@ const Item: FC = ({ 'relative w-full flex items-center h-6 pl-3 rounded-md cursor-pointer') } onClick={handleChosen} + onMouseDown={e => e.preventDefault()} >
{!isEnv && !isChatVar && }