Skip to content

perf(ui): accelerate menubar dropdown open and transition speed #672

Description

@ZhuchkaTriplesix

Problem

Top-level menubar dropdowns ('File', 'Edit', 'View', etc.) feel sluggish to open and switch between. The default popover animation uses a 100-150ms linear transition with a 10% zoom (0.9 to 1.0) and inverted duration ternary, leading to visible latency where users might perceive the click didn't register.

Solution

  • Add configurable durations and curves to PopoverOverlayHandler (defaulting menu handler to 60ms show with Curves.easeOutCubic and 50ms dismiss with Curves.easeIn).
  • Refine scale transition from 0.9->1.0 to 0.96->1.0 for a subtle, desktop-native reveal.
  • Close previous menu immediately (immediate: true) when switching horizontally between menubar items.
  • Toggle close menu when clicking an already open menubar button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions