[Webkit-unassigned] [Bug 240183] New: CSS overscroll-behavior-x: contain does not disable history navigation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 6 14:06:25 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=240183
Bug ID: 240183
Summary: CSS overscroll-behavior-x: contain does not disable
history navigation
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sime.vidas at gmail.com
Steps to reproduce:
1. In desktop Safari, go to this page https://codepen.io/simevidas/full/BaYogWw
2. Use the trackpad two-finger-swipe gesture on the image carousel
What happened:
When you’re on the left-most image and swipe to the right, Safari will perform a back navigation.
What should have happened:
The image scroll container has CSS `overscroll-behavior-x: contain`, so overscroll history navigation should be disabled while the mouse cursor is on top of it. Chrome and Firefox on macOS respect this. Safari doesn’t.
Additional notes:
I opened this bug because WebKit changeset 291497 [1] suggests that Safari’s behavior is on purpose. If that’s the case, could you explain why you don’t want websites to be able to disable overscroll history navigation via the CSS property? As my demo shows, there are legitimate use-cases for doing this.
[1]: https://trac.webkit.org/changeset/291497/webkit/
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220506/b7020c0f/attachment.htm>
More information about the webkit-unassigned
mailing list