Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(chat): prevent chatbox jump when sending first message (#1582)

Jiayuan Zhangbb767e0ea65e
diff --git a/packages/views/chat/components/chat-page.tsx b/packages/views/chat/components/chat-page.tsx
index e578d0cce2..e02d1550e7 100644
--- a/packages/views/chat/components/chat-page.tsx
+++ b/packages/views/chat/components/chat-page.tsx
@@ -256,12 +256,7 @@ export function ChatPage() {
<EmptyState agentName={activeAgent?.name} onPickPrompt={handleSend} />
)}
- <div
- className={cn(
- "mx-auto w-full max-w-3xl pb-4",
- hasMessages ? "" : "pb-8",
- )}
- >
+ <div className="mx-auto w-full max-w-3xl pb-4">
<ChatInput
onSend={handleSend}
onStop={handleStop}