We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e606810 commit 08f3c70Copy full SHA for 08f3c70
app/components/home.tsx
@@ -275,6 +275,7 @@ export function Chat(props: {
275
chatStore
276
.onUserInput(messages[i].content)
277
.then(() => setIsLoading(false));
278
+ inputRef.current?.focus();
279
return;
280
}
281
@@ -319,7 +320,6 @@ export function Chat(props: {
319
320
const dom = latestMessageRef.current;
321
if (dom && !isIOS() && autoScroll) {
322
dom.scrollIntoView({
- behavior: "smooth",
323
block: "end",
324
});
325
@@ -444,7 +444,7 @@ export function Chat(props: {
444
</div>
445
);
446
})}
447
- <div ref={latestMessageRef} style={{ opacity: 0, height: "2em" }}>
+ <div ref={latestMessageRef} style={{ opacity: 0, height: "3em" }}>
448
-
449
450
0 commit comments