[Webkit-unassigned] [Bug 197744] New: Implement scroll-snap-stop for scroll snapping
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 9 11:08:29 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=197744
Bug ID: 197744
Summary: Implement scroll-snap-stop for scroll snapping
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Scrolling
Assignee: webkit-unassigned at lists.webkit.org
Reporter: majidvp at chromium.org
This property is in scroll snap level 1 specification CR [0]. Please consider implementing this.
We (at Chromium) have implemented this and plan to ship it soon [1]. We have heard from several developers (e.g., See here [2] AirBnb, AMP [3]) that they want this.
A particular popular usecase is to create full-size image carousels that only snap to the next image (e.g., similar to how native apps do such things) which is the motivation behind why this feature was added to the spec in the first place.
Normally a fling gesture snaps to the closest area near its "natural end point" which is not the right behavior in such usecases.
We have added one wpt test for this feature so far as well [4].
[0] https://www.w3.org/TR/css-scroll-snap-1/#scroll-snap-stop
[1] https://chromestatus.com/features/5439846480871424
[2] https://bugs.chromium.org/p/chromium/issues/detail?id=823998#c3
[3] https://bugs.chromium.org/p/chromium/issues/detail?id=920482#c1
[4] https://wpt.fyi/results/css/css-scroll-snap/scroll-snap-stop-always.html?label=master&product=chrome%5Bexperimental%5D&product=edge&product=firefox%5Bexperimental%5D&product=safari%5Bexperimental%5D&aligned&q=scroll-snap
--
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/20190509/6c66f22b/attachment.html>
More information about the webkit-unassigned
mailing list