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

UI flickering and scroll is broker #48

Closed
TheNaman047 opened this issue Apr 3, 2024 · 7 comments
Closed

UI flickering and scroll is broker #48

TheNaman047 opened this issue Apr 3, 2024 · 7 comments

Comments

@TheNaman047
Copy link

Issues:

  1. Word streaming is not working anymore, and all the response is shown at once at the end
  2. UI keeps flickering till the response is streamed
  3. Post response is received on the screen and rendered, the scroll is not smooth and jumps from one position to another.

Recording:

2024-04-03.10-17-39.mp4

System:
image

Running via docker, node 20

@RogerWeihrauch
Copy link

Hi all
Same here:
Points 1-3: same UI experience when setting up ollama with pinokio app on macOS.

  • Running it under: http://localhost:3000
  • Composing a prompt
  • Hitting Enter to generate response
  • Trying to scroll response: needs a kind of a burst 'til it starts scrolling
  • screen flickers while scrolling
  • and sidebar is stuck when scrolled down; gets only restarted with the before mentioned 'burst'
    What infos are needed for analysation?

Regards,
Roger

@racerxdl
Copy link

Same here, on ubuntu and chrome.

@Andrew0002
Copy link

Same on macOS on Edge and Safari

@Andrew0002
Copy link

Andrew0002 commented Apr 17, 2024

I tried going back to some older docker images and it seems like the docker image that was built on Jan 29th doesn't have this issue, but the ones after it do. I'm wondering if the problem is related to pull #36.

  • Works - Jan 29

    • docker pull ghcr.io/ivanfioravanti/chatbot-ollama@sha256:d79f280c842aa1629cc07627fc19d1bce3e327b45f2ba124cdbe111482f08978
      
    • https://github.com/ivanfioravanti/chatbot-ollama/pkgs/container/chatbot-ollama/172410577
      
  • Issue Starts - Feb 22

    • docker pull ghcr.io/ivanfioravanti/chatbot-ollama@sha256:c1390ae80f0800ff28b4ff036ea5c490eccfe6ea8910655c2ec992c35f09b3a0
      
    • https://github.com/ivanfioravanti/chatbot-ollama/pkgs/container/chatbot-ollama/182490314
      

@caiyesd
Copy link

caiyesd commented Apr 19, 2024

Same here, on ubuntu and chrome.

@ivanfioravanti
Copy link
Owner

I tried going back to some older docker images and it seems like the docker image that was built on Jan 29th doesn't have this issue, but the ones after it do. I'm wondering if the problem is related to pull #36.

  • Works - Jan 29
    • docker pull ghcr.io/ivanfioravanti/chatbot-ollama@sha256:d79f280c842aa1629cc07627fc19d1bce3e327b45f2ba124cdbe111482f08978
      
    • https://github.com/ivanfioravanti/chatbot-ollama/pkgs/container/chatbot-ollama/172410577
      
  • Issue Starts - Feb 22
    • docker pull ghcr.io/ivanfioravanti/chatbot-ollama@sha256:c1390ae80f0800ff28b4ff036ea5c490eccfe6ea8910655c2ec992c35f09b3a0
      
    • https://github.com/ivanfioravanti/chatbot-ollama/pkgs/container/chatbot-ollama/182490314
      

Thanks @Andrew0002 this helps!

@ivanfioravanti
Copy link
Owner

Fixed reverting recent commits. Thanks everyone!

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

6 participants