ChatMessages (concierge)
Scrollable concierge message list with stick-to-bottom auto-scroll during streaming.
components/molecules/concierge/ChatMessages.tsx
Props
| Prop | Type | Required | Description |
|---|---|---|---|
messages | ChatMessage[] | yes | Conversation messages |
isStreaming | boolean | yes | Whether the last message is streaming |
className | string | no | Extra classes for the scroll container |
Behavior
- Auto-scrolls to the bottom as new tokens arrive, unless the user has scrolled up more than ~80px (then scroll position is respected).
aria-live="polite"announces streamed additions.