Open Bug 1966330 Opened 5 months ago Updated 1 month ago

salling.dk - Unable to scroll the filter menu

Categories

(Web Compatibility :: Site Reports, defect, P2)

Firefox 140
ARM
Android

Tracking

(Webcompat Priority:P2, Webcompat Score:3, firefox138 affected, firefox139 affected, firefox140 affected)

ASSIGNED
Webcompat Priority P2
Webcompat Score 3
Tracking Status
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:

  1. Go to https://salling.dk/herre/toej/c-11905/
  2. Tap on "Filtrer".
  3. Open any type of filter that has many options (e.g. "Kategori")
  4. 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

Version: unspecified → Firefox 140

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Reproducible in RDM, too.

Severity: -- → S2
User Story: (updated)
Webcompat Priority: --- → P2
Webcompat Score: --- → 6
Priority: -- → P2

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%;
  }
}
Keywords: leave-open
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
See Also: → 1890762
Pushed by twisniewski@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0da2dc3ff2eb https://hg.mozilla.org/integration/autoland/rev/f211e4925ca9 add a CSS webcompat intervention for salling.dk mobile layout so filters can be scrolled; r=denschub,webcompat-reviewers
Webcompat Score: 6 → 3
User Story: (updated)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: