diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 8fc39e31..4c168669 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -391,7 +391,7 @@ export function Chat() { const onPromptSelect = (prompt: Prompt) => { setPromptHints([]); inputRef.current?.focus(); - setUserInput(prompt.content); + setTimeout(() => setUserInput(prompt.content), 60); }; // auto grow input