multica/packages/ui/src
Naiyuan Qing a1c28b3d04 feat(ui): add auto-scroll to bottom for chat messages
- Add useAutoScroll hook using ResizeObserver + MutationObserver
- Observes content children for size changes (streaming, images)
- Watches for new DOM nodes (new messages, history load)
- Respects user scroll position: no force-scroll when reading above
- Integrate in Chat component alongside existing useScrollFade

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 16:14:18 +08:00
..
components feat(ui): add auto-scroll to bottom for chat messages 2026-02-02 16:14:18 +08:00
hooks feat(ui): add auto-scroll to bottom for chat messages 2026-02-02 16:14:18 +08:00
lib feat(ui): extract components, utils, and styles from apps/web 2026-01-30 11:34:05 +08:00
styles feat(web): add scroll fade hint effect to chat message list 2026-01-30 22:14:19 +08:00
index.ts feat(ui): create @multica/ui package skeleton 2026-01-30 11:34:05 +08:00