Closed Bug 1829378 Opened 1 year ago Closed 1 year ago

Pull to refresh does not respect CSS overscroll-behavior-y: contain

Categories

(Fenix :: General, defect)

Firefox 112
All
Android
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bruno.at.ost, Unassigned)

References

Details

Steps to reproduce:

The CSS statement

body {
overscroll-behavior-y: contain;
}

is often used to prevent page reload on pull to refresh guesture. This prevents dataloss e.g. in progressive web apps.

Actual results:

The pull-to-refresh feature introduced in Firefox 112 does not respect this CSS rule and reloads the page which ends in data loss.

Browser Version: "Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/112.0 Firefox/112.0"

Expected results:

Pull-to-refresh guesture should not trigger a page reload if the corresponding CSS rule is present.

Other browsers e.g. Google Chrome 112, Opera 74.2, Samsung Internet 20.0.7 respect this CSS rule.

Blocks: 1807071

overscroll-behavior properties are not propagated to the root scroller from <body>. It's a bug in chromium, I am putting the link to the chromium bug into See Also field.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.