diff --git a/app/components/home.tsx b/app/components/home.tsx index 341054b8..de2cc8fe 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -275,6 +275,7 @@ export function Chat(props: { chatStore .onUserInput(messages[i].content) .then(() => setIsLoading(false)); + inputRef.current?.focus(); return; } } @@ -319,7 +320,6 @@ export function Chat(props: { const dom = latestMessageRef.current; if (dom && !isIOS() && autoScroll) { dom.scrollIntoView({ - behavior: "smooth", block: "end", }); } @@ -444,7 +444,7 @@ export function Chat(props: { ); })} -
+
-