Skip to content

web UI either doesn't scroll or jumps to the wrong element #13479

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

Open
bughunter2 opened this issue May 12, 2025 · 0 comments
Open

web UI either doesn't scroll or jumps to the wrong element #13479

bughunter2 opened this issue May 12, 2025 · 0 comments

Comments

@bughunter2
Copy link

bughunter2 commented May 12, 2025

Name and Version

$ ./llama-cli --version
version: 5124 (bc091a4)
built with cc (Debian 12.2.0-14) 12.2.0 for x86_64-linux-gnu

Which llama.cpp modules do you know to be affected?

llama-server

Command line

llama-server -m model.gguf

Problem description & steps to reproduce

This bug has been filed before. See #12362 for example.

Observed behavior:

  1. Open the browser (Firefox in this case), and enter a prompt in the llama-server web UI.
  2. Keep sending prompts until there's at least a page full of text.
  3. Then enter a new prompt.
  4. llama-server web UI does not scroll. Our prompt remains invisible. Perhaps we just need to scroll manually one time, so let's do that.
  5. We scroll to the bottom while the AI is generating its output.
  6. While waiting for the full answer to be generated, the page keeps scrolling just fine, and the answer stays visible.
  7. When the AI has completed its answer, suddenly the llama-server web UI jumps back to the originalposition we had before we entered our prompt.
    Even if we close the browser tab and/or reload the page, the same issue happens.

Bugs:

  • the web UI doesn't always scroll while the answer is being generated (still present in build 5358), and
  • the web UI doesn't always scroll to the bottom when the answer is complete. This last issue seems to be fixed in llama-server build 5358.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant