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

Add auto-scroll down to the bottom of the Gradio chat box whenever there's a new LLM response or show down arrow button #8253

Open
smartdatatech opened this issue May 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@smartdatatech
Copy link

  • Yes, I have searched to see if a similar issue already exists.

While using the Gradio chat interface I noticed that when I scroll up to see previous LLM responses, and then submit a new question, the latest LLM response is not shown. The chat box does not automatically scroll down to the bottom to show the latest response. It just stays there.

What would be nice enhancement to see (and I think it would be helpful for many users) is that when there's a new answer/response, it should scroll down automatically and show the latest response (bubble). Alternatively, if not auto-scroll, then it should display a down arrow at the bottom center of the chatbox textarea to let the user know there's a new response which when clicked should scroll down to the latest response bubble (similar to ChatGPT interface).

Example Solution (down arrow button indicating there's new response):
image0

@abidlabs
Copy link
Member

abidlabs commented May 9, 2024

Related (but not the same): #5785

@abidlabs abidlabs added the enhancement New feature or request label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants