Skip to content

fix(client): prevent mobile chat from jumping past assistant replies#100

Merged
DJJones66 merged 1 commit into
mainfrom
fix/mobile-chat-assistant-autoscroll
Apr 30, 2026
Merged

fix(client): prevent mobile chat from jumping past assistant replies#100
DJJones66 merged 1 commit into
mainfrom
fix/mobile-chat-assistant-autoscroll

Conversation

@DJJones66
Copy link
Copy Markdown
Member

Summary

  • Prevent assistant responses from auto-scrolling the chat to the bottom when a new assistant message starts.
  • Keep auto-scroll behavior for newly submitted user messages so the prompt and response area are revealed.
  • Add regression coverage for user-message scrolling and assistant-message non-scrolling.

Why

On mobile, the first assistant response could jump the viewport to the bottom, making users scroll back up to read the beginning of BrainDrive’s reply.

Testing

  • npm --prefix builds/typescript/client_web run test -- MessageList
  • npm --prefix builds/typescript/client_web run typecheck

@DJJones66 DJJones66 merged commit f003c3f into main Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant