Release XR (v0.51.662): ignore DOM-wipe scroll clamp during render (#4934)

This commit is contained in:
nesquena-hermes 2026-06-25 20:35:20 +00:00
parent ef6901c947
commit 2c1b0f00fd

View file

@ -3,6 +3,12 @@
## [Unreleased]
## [v0.51.662] — 2026-06-25 — Release XR (live replies keep following during transcript rebuilds)
### Fixed
- **A streaming reply no longer stops following (or appears to jump backward) when the transcript rebuilds mid-stream.** `renderMessages` rebuilds the message pane by clearing it (`innerHTML=''`), and during that brief gap the scroll container can collapse and the browser clamps `scrollTop` to 0, emitting a scroll event. The scroll listener was interpreting that render artifact as a deliberate user scroll-up and unpinning the reader, so the live reply stopped auto-following. The DOM-wipe scroll is now marked programmatic and ignored; genuine user scroll-up (wheel/touch) during a render is still detected and still unpins. Thanks @allenliang2022. (#4934)
## [v0.51.661] — 2026-06-25 — Release XQ (no more fabricated multi-hour processing time)
### Fixed