[Bug]:The conflict between scrolling up and streaming output,they scramble for the focus pane
Do you need to file an issue?
- [x] I have searched the existing issues and this bug is not already filed.
- [x] I believe this is a legitimate bug, not just a question or feature request.
Describe the bug
In the latest version of DeepTutor, running on macOS 26, when I send a request to the LLM during web chat, it thinks and streams the output. However, while streaming, I cannot effectively scroll up — the streamed output keeps pulling the conversation focus box to the bottom, preventing me from scrolling up to view the original output.
Steps to reproduce
- Send a request to LLM
- Scroll up to the top of the answer
- Bad behaviours,I can not scroll up to my destination
Expected Behavior
I would like to decouple the focus box from the streaming output so I can easily view the original response. Thank you.
Related Module
Frontend/Web
Configuration Used
No response
Logs and screenshots
No response
Additional Information
- DeepTutor Version:
- Operating System:
- Python Version:
- Node.js Version:
- Browser (if applicable):
- Related Issues:
Fixed on dev in d21687f8. Wheel/touch scroll-up already released the pin, but during streaming the rAF re-pinned to the bottom every frame, so scrolling up via the scrollbar thumb or keyboard (PageUp/Home/arrows) got yanked back. The streaming loop now checks whether scrollTop dropped below what it last pinned before re-pinning — with overflow-anchor:none, content growth never lowers scrollTop, so a decrease is unambiguous user intent and the pin releases. Ships in the next release.
Thanks for your contribution!!