Преглед на файлове

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