Inconsistent menu height behavior in account menu secondary views
Categories
(Firefox :: Menus, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox161 | --- | verified |
People
(Reporter: lbybee, Assigned: nsharpley)
References
Details
(Whiteboard: [fidefe-post-nova])
Attachments
(2 files, 1 external file)
In current Nightly, secondary menus in the account menu are constrained to the height of their content, while the primary menu sets its own (taller) height. This makes the account menu the only surface where menu height visibly changes as you navigate between views.
The open question: should menu height behavior be consistent across all menus as a system-level rule (e.g., all menus size to content, or all hold a fixed height), rather than deciding per-surface? Right now the account menu diverges from every other menu, and we'd like the decision made at the design-system level.
Note: the constrained secondary menus match the figma spec so that's why this ticket is listed as an enhancement for a design system perspective
Steps to observe:
In Nightly (155+), open the account menu (avatar toolbar button)
Navigate into a secondary menu (e.g., Secure sync → device, or Profiles)
Observe the menu height shrinking/growing to fit content, unlike other Firefox menus
Here's what we currently leaning towards, but need to discuss:
- Hamburger menu: uniform height of all the submenus within it.
- Account menu submenus: content-specific height of all the submenus
Both menus already work mostly this way, I am attaching screenshots of instances when they don't:
- Account menu: All profiles
- Hamburger menu: Profiles
Updated•2 months ago
|
| Assignee | ||
Comment 4•1 month ago
|
||
PanelMultiView already holds a subview at the height of the view it was opened from, through an inline min-height on the view container and, in the app menu, lockpanelvertical on appMenu-mainView. The profiles, secure sync and device recent tabs views opted out of that with height: fit-content and min-height: 0 !important, which is why they were the only places where the menu visibly resized while navigating. Dropping those overrides lets the shared mechanism apply to them as well, and removes the :has() selector that needed a stylelint exception.
Updated•1 month ago
|
Comment 6•1 month ago
|
||
| bugherder | ||
Comment 7•27 days ago
|
||
Reproduced the initial issue using Firefox 159.0.1 on Windows 11 - I can confirm the height difference between the Account menu and the secondary menus, such as the Profiles and Secure Sync menus.
Verified as fixed using the latest Nightly 161.0a1 on Windows 11, macOS 26 and Ubuntu 24.04 - the primary Account menu and the secondary menus now have the same height.
Description
•