Explorar o código

fix: #182 prompt cannot be selected

Yifei Zhang %!s(int64=2) %!d(string=hai) anos
pai
achega
b3fdf3efec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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}
           />