mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #17474] issue: Settings modal can be scrolled out of view when 'Image Compression' is enabled in Interface settings #56966
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 (Sep 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17474
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
dev (latest)
Ollama Version (if applicable)
No response
Operating System
macOS 26
Browser (if applicable)
Edge 141
Confirmation
README.md.Expected Behavior
The settings modal should remain fixed and always visible on the screen, regardless of any option enabled. Modal contents should not be scrollable out of the viewport.
Actual Behavior
When 'Image Compression' is enabled on the Interface settings page, the modal becomes scrollable and can be moved completely out of the visible area of the screen, making it hard to interact with.
Steps to Reproduce
Logs & Screenshots
Additional Information
This occurs only when 'Image Compression' is toggled on. Other options do not cause the modal to move out of view. Tested on Edge 141, latest dev branch, macOS 26.
@rgaricano commented on GitHub (Sep 16, 2025):
When Image Compression is enabled, the additional input fields for width and height settings are dynamically added to the form, increasing the overall content height.
There are several solutions, easiers:
Instead of fixed height:
md:min-h-[32rem] max-h-[32rem]Use viewport-relative heights:
md:min-h-[50vh] max-h-[80vh]In Modal.svelte, change from:
class="modal fixed top-0 right-0 left-0 bottom-0 bg-black/60 w-full h-screen max-h-[100dvh] {containerClassName} flex justify-center z-9999 overflow-y-auto overscroll-contain"To:
class="modal fixed top-0 right-0 left-0 bottom-0 bg-black/60 w-full h-screen max-h-[100dvh] {containerClassName} flex items-center justify-center z-9999 overflow-y-auto overscroll-contain"@tjbck commented on GitHub (Sep 16, 2025):
fed5615c19