Skip to content

Tweak flyout mouse hover tolerance

Thomas Hutterer requested to merge 415343-tweak-flyout-tolerance into master

What does this MR do and why?

Reduces the "wiggle room" of our new flyout's diagonal mouse hover tolerance a little bit, to make it more smooth when moving the mouse cursor from one section title downwards to another. See #415343 (comment 1541179971) for context.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
recording_1693990303 recording_1693990191

How to set up and validate locally

  • Enable the feature in your Rails console: Feature.enable(:super_sidebar_flyout_menus)
  • Make sure you use the New navigation (by enabling its toggle in the user dropdown menu)
  • Go to any project or group.
  • In the sidebar, hover over the menu sections (Manage, Plan, Code, ...) and see the flyouts opening.
  • When moving the cursor downwards near the right edge of the sidebar, the flyout menus now open snappier (since the "wiggle room" for diagonal mouse movement is now smaller)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #415343 (closed)

Edited by Thomas Hutterer

Merge request reports