Skip to content

Commit 796c1d9

Browse files
authored
Fix auto scroll bug: (#74)
Fixes a small bug where sending the first message to an agent would cause the component to overscroll like this: <img width="1165" height="203" alt="image" src="https://github.com/user-attachments/assets/68ddd244-b0b0-448a-a7b2-784cadcd29a2" />
1 parent 44ce343 commit 796c1d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agentex-ui/components/primary-content/chat-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function ChatView({
6363
ref={headerRef}
6464
/>
6565

66-
<div className="flex min-h-full w-full flex-col items-center px-4 sm:px-6 md:px-8">
66+
<div className="flex w-full flex-col items-center px-4 sm:px-6 md:px-8">
6767
<div className="w-full max-w-3xl">
6868
<TaskProvider taskId={taskID}>
6969
<TaskMessages taskId={taskID} headerRef={headerRef} />

0 commit comments

Comments
 (0)