Correct lastScrollTopRef assignment in scrollToBottom to read back the browser-capped scrollTop value instead of using scrollHeight, which was causing handleScroll to incorrectly detect upward scrolling and disable auto-scroll. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 KiB
32 KiB