mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #17684] issue: Chat jitter and Code block expand late in multi-model sessions #33896
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chrisoutwright on GitHub (Sep 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17684
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.30
Ollama Version (if applicable)
0.10.1
Operating System
Win11
Browser (if applicable)
Chrome Version 140.0.7339.128
Confirmation
README.md.Expected Behavior
Code blocks and chat panels should remain stable in height during long conversations.
All code sections should render fully sized immediately, without “jumping” or late expansion.
Actual Behavior
https://github.com/user-attachments/assets/ab5c339d-ff9d-411b-b771-14dfad75f12e
Steps to Reproduce
Start Open WebUI via
uvx(no Docker)http://localhost:8080).Initial Configuration
http://localhost:8080.test@example.com).Reproduction (long multi-chat with code)
Observed Faults
Expected vs Actual
Logs & Screenshots
Additional Information
No response
@chrisoutwright commented on GitHub (Sep 23, 2025):
Based on the clip
@chrisoutwright commented on GitHub (Sep 23, 2025):
Regarding 'jitter,' it appears to occur also whenever I switch between different model outputs or streams.
clip
It would be preferable if the code blocks remained expanded as they were initially.
Currently, they are being collapsed and then re-expanded, which seems to follow also the jitter. The source of this jitter is not entirely clear but appears to be related to these actions.
@tjbck commented on GitHub (Sep 23, 2025):
@ShirasawaSama This seems like it's related to your efforts. Thoughts?
@ShirasawaSama commented on GitHub (Sep 23, 2025):
001775d6c3This seems related to the issue. I need to redesign the global unified dynamic import mechanism for codeblocks. Directly using Svelte's await doesn't appear to reuse already imported components.
I'll submit a fixed pull request within a few hours.
If you need to release the new version as soon as possible, you can revert this PR #17498 for now. Otherwise, you can wait for me to come up with a better dynamic import method.
@ShirasawaSama commented on GitHub (Sep 25, 2025):
fixed in #17715
@chrisoutwright commented on GitHub (Sep 28, 2025):
Works as expected now, thanks for the fast help and fix!