mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #22733] issue: Full Page Reload on User Menu Playground and Admin Panel Navigation
#19800
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 @silentoplayz on GitHub (Mar 16, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22733
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.10
Ollama Version (if applicable)
v0.18.0
Operating System
Ubuntu 24.04.4 LTS
Browser (if applicable)
Mozilla Firefox Snap for Ubuntu v148.0.2 (64-bit) / Google Chrome v146.0.7680.80 (Official Build) (64-bit)
Confirmation
README.md.Expected Behavior
Clicking on the
PlaygroundandAdmin Panelbuttons in the user menu should route instantly to the respective pages as part of the Single Page Application (SPA) navigation without triggering a full page reload (no splash screen), which is consistent with the previous behavior.Actual Behavior
Clicking on the
PlaygroundorAdmin Panellinks in the user menu triggers a full page reload in the browser. The Open WebUI splash screen flashes before the requested page finishes loading.Steps to Reproduce
Playground.Admin Panel.Logs & Screenshots
Not applicable (this is an unexpected regular HTTP document navigation rather than an application-crashing bug, so there are no relevant errors in the console or Docker logs).
Additional Information
The issue stems from the source code in
src/lib/components/layout/Sidebar/UserMenu.svelte. ThePlaygroundandAdmin Panelitems are implemented using<DropdownMenu.Item as="a" href="...">.In Bits-UI, using
as="a"with anhrefbypasses SvelteKit's client-side router and tells the browser to perform a native top-level navigation, which triggers the full page reload instead of instantly resolving the component. Using SvelteKit'sgoto()programmatically in theon:clickblock or verifying SvelteKit'sdata-sveltekit-preload-datatags would resolve this.@silentoplayz commented on GitHub (Mar 22, 2026):
This issue has been resolved on the
devbranch with7ffcd3908e.