-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
Auto-scroll to bottom is implemented (ChatView.tsx lines 2526-2527 call forceStickToBottom() on submit), but edge cases may not be covered. Needs verification in browser tests.
Scenarios to verify
- User scrolled up, then submits a message → should scroll to bottom
- Optimistic message renders → should scroll to bottom
- Streaming response starts → should stick to bottom if user hasn't scrolled up
- Long message that extends past viewport → should scroll fully to bottom
- Multiple rapid submissions → should scroll to bottom after each
Current implementation
chat-scroll.ts—isScrollContainerNearBottom()with threshold logicChatView.tsx—shouldAutoScrollRef.current = true+forceStickToBottom()on submitscheduleStickToBottom()usingrequestAnimationFrame
Context
From TODO.md — "Submitting new messages should scroll to bottom". Implementation exists but needs edge-case validation. Consider adding Playwright browser tests.
🤖 Filed by Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working