[Bug]:The conflict between scrolling up and streaming output still occurs in "Partner" modules. #649
Do you need to file an issue?
- [ ] 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
#649 The issue in "Chat" module has been resolved, but it still exists in the "Partner" module. Don't they have the same web window rendering engine?
Steps to reproduce
No response
Expected Behavior
No response
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:
Hi, I’d like to work on this issue.
I plan to investigate the Partner Chat auto-scroll behavior and reuse the existing Chat auto-scroll logic where appropriate, so users can scroll up during streaming without being pulled back to the bottom.
Would this approach be welcome? I’m happy to adjust the implementation based on your guidance.
Fixed on dev by #704 (6f4ffa1b). Partner chat now reuses the same useChatAutoScroll hook as the main chat, so scrolling up during a stream releases the pin and only re-arms near the bottom (a new turn returns to live-follow). Thanks @ZJPex for taking it, and @Autumn0716 for reporting. It ships in the next release.