You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🤖 fix: scroll to bottom on workspace switch using ResizeObserver
The previous double requestAnimationFrame approach failed when async
content (Shiki highlighting, Mermaid diagrams, images) rendered after
the scroll completed. Now we observe the inner message container for
size changes during the auto-scroll window and re-scroll as needed.
Changes:
- Add ResizeObserver in useAutoScroll that triggers scroll on growth
- Return innerRef callback ref from hook for attaching to content div
- Wire up innerRef in AIView's message container
_Generated with `mux`_
0 commit comments