DeepTutor icon indicating copy to clipboard operation
DeepTutor copied to clipboard

[Bug]:The conflict between scrolling up and streaming output still occurs in "Partner" modules. #649

Open Autumn0716 opened this issue 4 months ago • 2 comments

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:

Autumn0716 avatar Jul 25 '26 04:07 Autumn0716

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.

ZJPex avatar Jul 25 '26 13:07 ZJPex

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.

pancacake avatar Jul 26 '26 12:07 pancacake