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.
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
PopoverOverlayHandler(defaulting menu handler to 60ms show withCurves.easeOutCubicand 50ms dismiss withCurves.easeIn).immediate: true) when switching horizontally between menubar items.