소스 검색

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}
           />