AI Assistant: chat does not auto-scroll to newest message #94

Closed
opened 2026-03-26 00:32:57 +00:00 by mik-tf · 1 comment
Owner

Problem

When sending a message or receiving a response in the AI Assistant, the chat area does not automatically scroll to the bottom. The user has to manually scroll down to see the latest response.

This is a basic UX expectation for any chat interface — every chat app (WhatsApp, Slack, ChatGPT) auto-scrolls on new messages.

Expected behavior

  1. On sending a message → scroll to bottom
  2. On receiving assistant response → scroll to bottom
  3. During streaming (token-by-token) → keep scrolled to bottom as tokens arrive
  4. If user has manually scrolled up to read history → do NOT force scroll (respect user intent)

Where to fix

The AI Assistant chat UI is in the Dioxus WASM shell (hero_os_app). The scroll behavior needs to be added to the message list container — scroll to bottom when messages array changes, unless user has scrolled up.

Signed-off-by: mik-tf

## Problem When sending a message or receiving a response in the AI Assistant, the chat area does not automatically scroll to the bottom. The user has to manually scroll down to see the latest response. This is a basic UX expectation for any chat interface — every chat app (WhatsApp, Slack, ChatGPT) auto-scrolls on new messages. ## Expected behavior 1. On sending a message → scroll to bottom 2. On receiving assistant response → scroll to bottom 3. During streaming (token-by-token) → keep scrolled to bottom as tokens arrive 4. If user has manually scrolled up to read history → do NOT force scroll (respect user intent) ## Where to fix The AI Assistant chat UI is in the Dioxus WASM shell (`hero_os_app`). The scroll behavior needs to be added to the message list container — scroll to bottom when messages array changes, unless user has scrolled up. Signed-off-by: mik-tf
Author
Owner

Fixed in v0.7.3-dev (https://forge.ourworld.tf/lhumina_code/hero_services/releases/tag/v0.7.3-dev). Deployed to herodev, visually verified via Hero Browser MCP. All E2E tests passing.

Fixed in v0.7.3-dev (https://forge.ourworld.tf/lhumina_code/hero_services/releases/tag/v0.7.3-dev). Deployed to herodev, visually verified via Hero Browser MCP. All E2E tests passing.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/home#94
No description provided.