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
Current implementation
chat-scroll.ts — isScrollContainerNearBottom() with threshold logic
ChatView.tsx — shouldAutoScrollRef.current = true + forceStickToBottom() on submit
scheduleStickToBottom() using requestAnimationFrame
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
Summary
Auto-scroll to bottom is implemented (
ChatView.tsxlines 2526-2527 callforceStickToBottom()on submit), but edge cases may not be covered. Needs verification in browser tests.Scenarios to verify
Current implementation
chat-scroll.ts—isScrollContainerNearBottom()with threshold logicChatView.tsx—shouldAutoScrollRef.current = true+forceStickToBottom()on submitscheduleStickToBottom()usingrequestAnimationFrameContext
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