- 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> |
||
|---|---|---|
| .. | ||
| src | ||
| components.json | ||
| package.json | ||
| postcss.config.mjs | ||
| tsconfig.json | ||