浏览代码

fix: #182 prompt cannot be selected

Yifei Zhang 2 年之前
父节点
当前提交
b3fdf3efec
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/components/home.tsx

+ 1 - 1
app/components/home.tsx

@@ -489,7 +489,7 @@ export function Chat(props: {
             onFocus={() => setAutoScroll(true)}
             onBlur={() => {
               setAutoScroll(false);
-              setTimeout(() => setPromptHints([]), 100);
+              setTimeout(() => setPromptHints([]), 500);
             }}
             autoFocus={!props?.sideBarShowing}
           />