这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@shatfield4
Copy link
Collaborator

Pull Request Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #1130

What is in this change?

  • Emulate ChatGPT style autoscrolling where if the user is at the bottom of the page, it will autoscroll as the message is streamed
  • If user is not at bottom of the page then it will not autoscroll but the scroll to bottom button appears

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

@shatfield4 shatfield4 linked an issue Apr 19, 2024 that may be closed by this pull request
@timothycarambat timothycarambat added the PR:needs review Needs review by core team label Apr 22, 2024
@timothycarambat timothycarambat merged commit b50f1e7 into master Apr 22, 2024
@timothycarambat timothycarambat deleted the 1130-feat-dont-auto-scroll-while-the-model-is-sending-a-reply branch April 22, 2024 22:06
cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
emulate chatgpt autoscroll to not always force autoscroll when streaming responses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR:needs review Needs review by core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT]: Don't auto-scroll while the model is sending a reply

3 participants