mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 15:20:10 +08:00
During streaming the rAF re-pinned to the bottom every frame, so scrolling up via the scrollbar thumb or PageUp/Home/arrows was yanked back (wheel/touch already released). The loop now checks whether scrollTop dropped below what it last pinned before re-pinning; a decrease is unambiguous user intent (overflow-anchor:none means content growth never lowers scrollTop), so it releases instead.