Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve scrolling behavior #763

Open
tarasglek opened this issue Dec 14, 2024 · 1 comment
Open

improve scrolling behavior #763

tarasglek opened this issue Dec 14, 2024 · 1 comment

Comments

@tarasglek
Copy link
Owner

https://duckduckgo.com/?q=DuckDuckGo+AI+Chat&ia=chat&duckai=1 is a good example of how to scroll

  1. On question being asked, scroll such that question is top of view
  2. as message streams in, don't do any further scrolling.

This is user-friendly and efficient

@humphd
Copy link
Collaborator

humphd commented Dec 14, 2024

This mirrors what ChatGPT does, so despite the fact that it's a pretty big change, it's likely the one most people will expect (some of our our users might not love it). The crap we have to do to support our current scrolling is terrible, and it still doesn't work perfectly.

One thing we'll need to make this work is proper bottom-padding/margin (not sure which) so that we can scroll beyond the end of the current size of the new message. Otherwise, we'll only be able to scroll to the offset height of the message when it's created, which is not enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants