Applications action menu dropdown option overflows and causes scroll
Categories
(Firefox :: Settings UI, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox147 | --- | unaffected |
| firefox148 | --- | unaffected |
| firefox149 | --- | disabled |
| firefox150 | --- | verified |
People
(Reporter: mkennedy, Assigned: tgiles)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [recomp])
Attachments
(4 files, 2 obsolete files)
Steps to reproduce
- Go to Settings
- Scroll down to Applications section
- Click to open last dropdown menu in Actions column
Actual Behavior
Opening dropdown causes it to overflow and the panel to scroll
Expected Behavior
Opening dropdown shouldn't cause a scroll
| Reporter | ||
Comment 1•3 months ago
|
||
The dropdown is a <panel-list> and looks like we have Bug 1866864 to try using the Popover API to resolve.
Updated•2 months ago
|
Updated•2 months ago
|
| Reporter | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 2•2 months ago
|
||
add Anna's popover patch
Ensure panel-list popovers are anchored to invoker
Make popover panel-lists open in the correct direction
| Assignee | ||
Comment 3•2 months ago
|
||
Remove redundant parts of aboutLogging
Trying to figure out why the popover immediately closes when
you click and let go of the mouse button.
| Assignee | ||
Comment 4•2 months ago
|
||
These changes address the issue with the new Applications setting group
where opening the dropdown would cause the group to increase in height
due to the dropdown menu elements. Users would need to scroll down
further to see the options in this menu, and then the group would shrink
in height after selecting an option from the menu.
To solve this issue, we use the popover API on the panel-list custom
element. The popover API makes the panel-list behave like the menupopup
custom element, which is the behavior we want. Now opening a select menu
in the Applications section causes the associated panel-list to appear
on top of the group, but anchored to the element that opened it.
However, to ensure that the panel-list appears anchored to the opening
element, we need to override some of the default UA styles for
[popover]. By default, a popover appears centered on the window, so we
override the margin to ensure the panel-list appears anchored to the
correct element.
Updated•2 months ago
|
| Assignee | ||
Comment 5•2 months ago
|
||
Since the MenuController from moz-button handles the panel-list state
logic, we don't need this duplicate handler in about:logging.
Updated•2 months ago
|
Updated•2 months ago
|
https://hg.mozilla.org/mozilla-central/rev/ce1c20d0c677
https://hg.mozilla.org/mozilla-central/rev/8822fb29e233
Comment 8•2 months ago
|
||
Authored by https://github.com/TGiles
https://github.com/mozilla/enterprise-firefox/commit/3f109fa808858020956de3474f9350569e3f42b6
[enterprise-main] Bug 2010864 - Add support for popover in panel-list. r=desktop-theme-reviewers,mkennedy,emilio
Authored by https://github.com/TGiles
https://github.com/mozilla/enterprise-firefox/commit/518d3cc5e8b7c3baa626c1b34d3629d98c353bbf
[enterprise-main] Bug 2010864 - Remove duplicate event handler in about:logging. r=mkennedy
Updated•1 month ago
|
Updated•1 month ago
|
Comment 9•1 month ago
|
||
This reverts commit 3f109fa808858020956de3474f9350569e3f42b6.
Updated•1 month ago
|
Updated•1 month ago
|
Comment 10•1 month ago
|
||
| uplift | ||
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Verified as fixed on Firefox Nightly 150.0a1 and Firefox 149.0b2 on Windows 10, Ubuntu 22, macOS 13.
Opening the dropdown does not cause scrolling.
Please note that the issue could not be reproduced, as builds prior to 2026-02-13 do not contain the new Settings UI design, and the issue is no longer reproducible on 2026-02-13 Firefox Nightly builds.
Description
•