Dropdown with enough options to require a scrollbar causes options to be shortened with ellipses
Categories
(Firefox :: Menus, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox108 | --- | unaffected |
| firefox109 | --- | unaffected |
| firefox110 | --- | fixed |
People
(Reporter: ehoogeveen, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files, 2 external files)
Bisected using mozregression, caused by bug 1805694.
Steps to reproduce:
- From a fresh profile on the latest Nightly,
- Open the attached testcase and click the dropdowns.
Expected behavior:
The dropdown with the scrollbar should show the options without shortening them.
Actual behavior:
In the dropdown that requires a scrollbar, the options only show "20...", while the dropdown without a scrollbar shows the full years.
Tested on Windows 10 (21H2). Other operating systems might show different results due to different native scrollbar styling.
Emilio, could you have a look?
| Reporter | ||
Comment 1•3 years ago
|
||
Comment 2•3 years ago
|
||
Set release status flags based on info from the regressing bug 1805694
| Assignee | ||
Comment 3•3 years ago
|
||
See the comment for why we can't just use scrollbar-gutter: stable,
which is what we'd want, ideally.
This is reproducible on Win10 and also Linux as long as:
- Overlay scrollbars are disabled.
- The scrollbar size is bigger than the menulist arrow size.
This used to be done by the chunk of code here:
Which changed the size of the menu (not just the popup) which then the
popup expanded to. So quite hacky over-all.
Updated•3 years ago
|
| Assignee | ||
Comment 4•3 years ago
|
||
This doesn't change behavior but should make what's going on slightly
clearer.
Depends on D165669
Comment 8•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/832901f88c03
https://hg.mozilla.org/mozilla-central/rev/5c0d75f58aaa
https://hg.mozilla.org/mozilla-central/rev/bdf5bdc50976
| Reporter | ||
Comment 9•3 years ago
|
||
I can confirm that it's fixed in the current Nightly, thanks!
Description
•