[csswg-drafts] [css-scroll-snap-1] Panning gesture should be treated as relative for last scroll direction. (#12840)

flackr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-scroll-snap-1] Panning gesture should be treated as relative for last scroll direction. ==
In css-scroll-snap-1, [absolute scrolls](https://drafts.csswg.org/css-scroll-snap-1/#absolute-scroll) were defined to include a panning gesture released without momentum. This would lead to the scroll direction not changing while panning up/down which doesn't make much sense as from a user perspective it is a relative scroll and the user would expect it to show/hide scroll direction based ui while panning.

I think we should include panning with and without momentum as relative scrolls as this makes the most sense for all of the other implications suggested in #12394 and figure out if / how to change the snapping behavior for this special case. E.g. maybe the end of a relative scroll includes a direction hint as to whether the scroll should continue in that direction or target the end location? 

@tabatkins

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12840 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 22 September 2025 15:15:57 UTC