Bug 275947 - overscroll-behavior:none or overscroll-behavior:contain doesn't disable pull to refresh
Summary: overscroll-behavior:none or overscroll-behavior:contain doesn't disable pull ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Nobody
URL: https://ebidel.github.io/demos/chatbo...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-06-27 03:39 PDT by rose
Modified: 2024-07-04 03:40 PDT (History)
6 users (show)

See Also:


Attachments
Behaviour on iOS Safari 16 (2.96 MB, video/mp4)
2024-06-27 03:39 PDT, rose
no flags Details
Behaviour on Android Chrome (1.24 MB, video/mp4)
2024-06-27 03:39 PDT, rose
no flags Details
Behaviour on Android Firefox (1.23 MB, video/mp4)
2024-06-27 03:40 PDT, rose
no flags Details
Test case (43 bytes, text/plain)
2024-06-27 03:40 PDT, rose
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rose 2024-06-27 03:39:10 PDT
Created attachment 471754 [details]
Behaviour on iOS Safari 16

Not having this property makes pull to refresh actions on web apps not work at all, and also makes several apps (such as a drawing pad) unusable.

Please consider adding support like chrome has: 
https://developer.chrome.com/blog/overscroll-behavior
https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior

Here's a demo:
https://ebidel.github.io/demos/chatbox.html

I've also attached a video of the behaviour on different browsers for your reference.

Thank you.
Comment 1 rose 2024-06-27 03:39:41 PDT
Created attachment 471755 [details]
Behaviour on Android Chrome
Comment 2 rose 2024-06-27 03:40:02 PDT
Created attachment 471756 [details]
Behaviour on Android Firefox
Comment 3 rose 2024-06-27 03:40:29 PDT
Created attachment 471757 [details]
Test case
Comment 4 Alexey Proskuryakov 2024-06-28 17:59:57 PDT
Thank you for the report!

This report is about iOS 16, but I'm seeing the same on iOS 18 beta. I do not know if this is a bug or intentional behavior.
Comment 5 Radar WebKit Bug Importer 2024-07-04 03:40:17 PDT
<rdar://problem/131113364>