[PR #22911] [CLOSED] fix: reduce sideOffset on SubContent menus to prevent hover gap #42554

Closed
opened 2026-04-25 14:25:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/22911
Author: @majiayu000
Created: 3/21/2026
Status: Closed

Base: mainHead: fix/issue-22744-submenu-hover-gap


📝 Commits (1)

  • 58f260b fix: 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 sideOffset from 8 to 2 on all DropdownMenu.SubContent elements. The 8px gap between trigger and submenu causes mouseleave to fire before mouseenter on 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 submenus
  • src/lib/components/layout/Navbar/Menu.svelte — Download and Move submenus
  • src/lib/components/notes/Notes/NoteMenu.svelte — Download and Share submenus
  • src/lib/components/playground/Chat.svelte — Download submenu

7 total sideOffset={8}sideOffset={2} changes on SubContent elements. Top-level DropdownMenu.Content sideOffset values are unchanged.

Test Plan

  • Hover over Download/Move/Share submenu triggers in sidebar chat menu, navbar menu, notes menu, and playground menu
  • Verify submenus stay open during cursor transit from trigger to submenu content

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/22911 **Author:** [@majiayu000](https://github.com/majiayu000) **Created:** 3/21/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/issue-22744-submenu-hover-gap` --- ### 📝 Commits (1) - [`58f260b`](https://github.com/open-webui/open-webui/commit/58f260bd737c617693f0567666a1b8fe2c4b9ca6) fix: reduce sideOffset on SubContent menus to prevent hover gap ### 📊 Changes **4 files changed** (+7 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description Fixes #22744 ## Changes Reduce `sideOffset` from 8 to 2 on all `DropdownMenu.SubContent` elements. The 8px gap between trigger and submenu causes `mouseleave` to fire before `mouseenter` on 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 submenus - `src/lib/components/layout/Navbar/Menu.svelte` — Download and Move submenus - `src/lib/components/notes/Notes/NoteMenu.svelte` — Download and Share submenus - `src/lib/components/playground/Chat.svelte` — Download submenu 7 total `sideOffset={8}` → `sideOffset={2}` changes on SubContent elements. Top-level `DropdownMenu.Content` sideOffset values are unchanged. ## Test Plan - Hover over Download/Move/Share submenu triggers in sidebar chat menu, navbar menu, notes menu, and playground menu - Verify submenus stay open during cursor transit from trigger to submenu content --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-25 14:25:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#42554