salling.dk - Unable to scroll the filter menu
Categories
(Web Compatibility :: Site Reports, defect, P2)
Tracking
(Webcompat Priority:P2, Webcompat Score:3, firefox138 affected, firefox139 affected, firefox140 affected)
People
(Reporter: ctanase, Assigned: twisniewski)
References
(Depends on 2 open bugs, )
Details
(4 keywords, Whiteboard: [webcompat-source:web-bugs])
User Story
platform:android impact:workflow-broken configuration:general affects:all branch:release diagnosis-team:layout user-impact-score:40
Attachments
(2 files)
Environment:
Operating system: Android 15
Firefox version: Firefox Mobile 137.0/138/140
Steps to reproduce:
- Go to https://salling.dk/herre/toej/c-11905/
- Tap on "Filtrer".
- Open any type of filter that has many options (e.g. "Kategori")
- Try scrolling the list.
Expected Behavior:
The list can be scrolled.
Actual Behavior:
Unable to scroll the list of filters.
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in firefox-nightly, and firefox-release
- Does not reproduce in chrome
Created from https://github.com/webcompat/web-bugs/issues/154134
Reporter | ||
Comment 1•5 months ago
|
||
Reporter | ||
Updated•5 months ago
|
Comment 2•5 months ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Comment 3•5 months ago
|
||
Reproducible in RDM, too.
Comment 4•5 months ago
|
||
This is the relevant rule:
@media (max-width:767px) {
.overlay-mobile--bottom[data-v-b8c57b06],
.overlay-mobile--top[data-v-b8c57b06] {
height:auto;
max-height:calc(100vh - 64px);
max-height:-webkit-fill-available;
max-height:-moz-available;
max-height:stretch;
max-height: 100%;
}
The max-height
decls there are meant to limit this element to the height of the viewport -- but in Firefox, we parse max-height: -moz-available
which we treat as the initial value i.e. no maximum height.
Bugs whose fixes would help here:
Bug 1872755 (-webkit-fill-available
) will not help here -- even if our implementation of that keyword is perfect, it'll be overridden here due to the order of the declarations.
To get the right outcome here, we need -moz-available
to do the right thing in the vertical axis (bug 567039) or we need to ship support for stretch
(bug 1789477).
Interventions:
In the meantime, this intervention should paper over the problem:
@media (max-width:767px) {
.overlay-mobile--bottom[data-v-b8c57b06],
.overlay-mobile--top[data-v-b8c57b06] {
max-height: 100%;
}
}
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Comment 5•5 months ago
|
||
Updated•5 months ago
|
Comment 7•4 months ago
|
||
bugherder |
Assignee | ||
Updated•4 months ago
|
Updated•4 months ago
|
Updated•1 month ago
|
Description
•