From cd9fe5928776774e90c43a03f1b2ddf401ee892c Mon Sep 17 00:00:00 2001 From: kurokobo <2920259+kurokobo@users.noreply.github.com> Date: Sun, 15 Jun 2025 06:24:02 +0000 Subject: [PATCH] fix: disable autoFocus on ComponentPicker in PromptEditor --- .../base/prompt-editor/plugins/component-picker-block/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/components/base/prompt-editor/plugins/component-picker-block/index.tsx b/web/app/components/base/prompt-editor/plugins/component-picker-block/index.tsx index b43d2c8117..bffcdc60d2 100644 --- a/web/app/components/base/prompt-editor/plugins/component-picker-block/index.tsx +++ b/web/app/components/base/prompt-editor/plugins/component-picker-block/index.tsx @@ -165,6 +165,7 @@ const ComponentPicker = ({ isSupportFileVar={isSupportFileVar} onClose={handleClose} onBlur={handleClose} + autoFocus={false} /> )