mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #22911] [CLOSED] fix: reduce sideOffset on SubContent menus to prevent hover gap #49972
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/22911
Author: @majiayu000
Created: 3/21/2026
Status: ❌ Closed
Base:
main← Head:fix/issue-22744-submenu-hover-gap📝 Commits (1)
58f260bfix: reduce sideOffset on SubContent menus to prevent hover gap📊 Changes
4 files changed (+7 additions, -7 deletions)
View changed files
📝
src/lib/components/layout/Navbar/Menu.svelte(+2 -2)📝
src/lib/components/layout/Sidebar/ChatMenu.svelte(+2 -2)📝
src/lib/components/notes/Notes/NoteMenu.svelte(+2 -2)📝
src/lib/components/playground/Chat.svelte(+1 -1)📄 Description
Fixes #22744
Changes
Reduce
sideOffsetfrom 8 to 2 on allDropdownMenu.SubContentelements. The 8px gap between trigger and submenu causesmouseleaveto fire beforemouseenteron the submenu, making it impossible to select submenu items at normal cursor speeds.Changed files:
src/lib/components/layout/Sidebar/ChatMenu.svelte— Download and Move submenussrc/lib/components/layout/Navbar/Menu.svelte— Download and Move submenussrc/lib/components/notes/Notes/NoteMenu.svelte— Download and Share submenussrc/lib/components/playground/Chat.svelte— Download submenu7 total
sideOffset={8}→sideOffset={2}changes on SubContent elements. Top-levelDropdownMenu.ContentsideOffset values are unchanged.Test Plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.