DeepTutor icon indicating copy to clipboard operation
DeepTutor copied to clipboard

[Bug]: Partner chat still loses composer focus after sending or switching tabs

Open Autumn0716 opened this issue 3 months ago • 2 comments

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

The focus fix from #697 works in the main Chat view, but Partner conversations still lose focus from the composer. After I send a message, or switch to another browser tab and come back, I cannot continue typing until I click the Partner chat box again.

Steps to reproduce

  1. Open a Partner conversation and click the chat box.
  2. Send a message.
  3. Try to type the next message without clicking the chat box again.
  4. Repeat after switching to another browser tab and returning to DeepTutor.

Expected Behavior

The Partner composer should regain focus after a successful send. If it was focused before leaving the browser tab, it should be focused again when returning, just like the behavior added for the main Chat view in #697.

Related Module

Frontend/Web

Configuration Used

Partner chat in the DeepTutor web UI.

Logs and screenshots

There is no visible error. Keyboard input simply does not reach the composer until it is clicked again.

Additional Information

  • DeepTutor Version: Not captured
  • Operating System: Not captured
  • Python Version: Not captured
  • Node.js Version: Not captured
  • Browser (if applicable): Not captured
  • Related Issues: #697, #720

Autumn0716 avatar Aug 04 '26 13:08 Autumn0716

thanks for your comments!

pancacake avatar Aug 16 '26 17:08 pancacake

thanks for your comments!

pancacake avatar Aug 23 '26 10:08 pancacake