lobe-chat
lobe-chat copied to clipboard
[Request] Make text streaming stop scrolling after certain amount of words to prevent interrupting reading on mobile views.
🥰 Feature Description
Since some models generate texts pretty fast and when the texts are long (especially for stories and code), the dialogues are scrolling fast down to the bottom which interrupts reading and makes us have to scroll back to the start every time. Here's an example.
https://github.com/lobehub/lobe-chat/assets/45254361/d8b3a3e2-d4a0-47f1-be7d-c967a37475a4
🧐 Proposed Solution
Make the scrolling stop after a customizable amount of words been output. So short conversations won't be affected.
📝 Additional Information
No response
👀 @Henry-Suen
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
Or by default scroll to the bottom while text is still generating, but when the user performs a manual scroll, automatic scrolling should stop, the user can actually look at the text.
Or by default scroll to the bottom while text is still generating, but when the user performs a manual scroll, automatic scrolling should stop, the user can actually look at the text.
They already did that. But it's not working efficiently. The scrolling keeps fighting with user's holding. Developers of LobeChat can check how ChatGPT app on iOS handles this. When the top of the text reaches the top of the screen, it'll just stop scrolling.
I hope it never scrolls.
This issue appears not only on mobile but also on desktop views. I don't understand why most users tolerate this problem.
Moreover, this problem not only affects the reading experience, but it also makes copying difficult because scrolling changes the cursor's position in the text The desktop view/Web view stopped scrolling after I updated to the newest version. For the mobile view, it stops scroll as if scroll up certain lines manually.
Everything is good now.
✅ @Henry-Suen
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。