Bug 242566 - [css-scroll-snap] scroll-snap-stop doesn't work
Summary: [css-scroll-snap] scroll-snap-stop doesn't work
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari 15
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-09 23:22 PDT by Rado
Modified: 2023-05-04 12:11 PDT (History)
4 users (show)

See Also:


Attachments
Not snapping (204.58 KB, image/png)
2022-07-11 22:46 PDT, Rado
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rado 2022-07-09 23:22:19 PDT
Set the items here https://webkit.org/demos/scroll-snap/#snap-scroll-container
to "scroll-snap-stop: always;" and it doesn't work and we can scroll to more than the next item. Moreover, snapping sometimes gets stuck to arbitrary scroll position when holding the trackpad for longer or randomly.
Comment 1 Radar WebKit Bug Importer 2022-07-10 20:47:48 PDT
<rdar://problem/96808448>
Comment 2 Karl Dubost 2022-07-11 22:02:19 PDT
I was not able to reproduce the issue in 
Safari Version 16.0 (18614.1.19.1.5)
and Safari Tech Preview Release 148 (Safari 16.0, WebKit 18614.1.17.3)

Everything seems to work as expected.

spacest,  can you reproduce in Safari Tech Preview?
Comment 3 Rado 2022-07-11 22:46:44 PDT
Created attachment 460805 [details]
Not snapping

In Safari TP, setting scroll-snap-stop: always has no effect, as I am able to scroll past the neighboring item. Also, the container gets stuck at arbitrary scroll positions, instead of snapping (screenshot).
Comment 4 Karl Dubost 2022-07-11 23:18:50 PDT
My hunch is that it is already fixed.
which version of Safari 15, you are using? 

I also can't reproduce on 
macOS 12.4 
Safari Version 15.5 (17613.2.7.1.8)
Comment 5 Rado 2022-07-11 23:41:49 PDT
15.5 and latest TP
Comment 6 Simon Fraser (smfr) 2022-07-12 10:11:57 PDT
spacest@gmail.com: what input device are you using?
Comment 7 Rado 2022-07-12 10:28:13 PDT
Magic Trackpad