Pull to refresh does not respect CSS overscroll-behavior-y: contain
Categories
(Fenix :: General, defect)
Tracking
(Not tracked)
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.
Comment 1•1 year ago
|
||
Reference with this ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=1813208#a7228576_635881
Comment 2•1 year ago
|
||
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.
Description
•