mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #23182] issue: Pasting or typing extremely large text in the chat input causes the page to crash #58578
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 @ShirasawaSama on GitHub (Mar 28, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23182
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.8.12
Ollama Version (if applicable)
No response
Operating System
Mac
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
The application should handle large text input gracefully without crashing. Possible approaches include:
Actual Behavior
The chat input attempts to process and render the entire text in real time. This triggers excessive DOM re-renders and layout recalculations (e.g., auto-resizing the textarea, syntax highlighting, character counting, etc.), overwhelming the browser's main thread and causing the page to freeze or crash.
Steps to Reproduce
Logs & Screenshots
Before crashes:
Additional Information
No response
@Classic298 commented on GitHub (Mar 28, 2026):
test file?
@ShirasawaSama commented on GitHub (Mar 28, 2026):
@Classic298 You can run this code in browser dev tools:
@WiiGe commented on GitHub (Apr 1, 2026):
same, paste huge markdown cause crash too
@Classic298 commented on GitHub (Apr 14, 2026):
https://github.com/open-webui/open-webui/issues/12087