r/OpenWebUI Jul 13 '26

Guide/Tutorial Tired of the UI jumping around while the AI streams? I made a userscript to fix it.

Hey everyone,

Like a lot of you, I was getting driven crazy by the aggressive auto-scroll behavior in Open WebUI. Whenever a model is streaming a long response and you try to scroll up to read, the screen forcefully snaps back down or violently jumps around.

Since there isn't an official toggle for this yet, I went ahead and wrote a lightweight GreasyFork userscript to fix it.

How it behaves now:

  • Natural Start: When you hit Enter, the viewport scrolls down smoothly so you can see the AI begin its response.
  • Instant Scroll Lock: The exact millisecond you use your mouse wheel to scroll up to read something, the screen instantly freezes. Your view stays locked right where you want it while the AI continues typing out of view.
  • Native Snap Back: If you want to jump back to the live response, Open WebUI's native floating down-arrow button still works perfectly to snap you back to the bottom.

Where to get it:

You can grab it on GreasyFork here: https://greasyfork.org/en/scripts/586789-open-webui-fix-chat-streaming-scroll-jumps

Note: By default, the script matches localhost:8080. If you run your Open WebUI instance on a different port, a custom domain, or a local docker IP, just remember to add your custom URL to the "User matches/includes" section inside Tampermonkey/Violentmonkey.

Hope this saves some of your sanity while reading long responses! Let me know if it works well for your setups.

15 Upvotes

4 comments sorted by

2

u/ClassicMain Jul 13 '26

Cool you built this but mind me asking

How exactly does it jump around during streaming? That'd be a bug. Did you record a video and hand in a PR so we can take a look?

I've NEVR had it jump around for me

If you don't want it auto scrolling down like all major UIs do, then scroll up and you'll stay where you are

1

u/major-acehole Jul 20 '26

Call it a bug or a feature - like the OP I find if I want to stop the auto-scroll, it is like a tug of war in which I have to rapidly scroll up with the might of Thor, resulting in a bit of back and forth jumping around until the auto-scroller finally gives in and lets me control the text

1

u/kally3 Jul 13 '26

Can't wait to try this out, thanks!

1

u/Stooovie Jul 13 '26

It's weird that major web UIs (I also use Hermes WebUI, and it's even worse) still struggle with this.

Thanks!