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

When a pan gesture reverses direction within a single gesture, what is the direction of the resulting relative scroll?

Concrete example, positions visited along one scroll axis before release:

`100 → 200 → 150`

Two readings:

1. **Gesture-start to release** (`100 → 150`): direction = forward. The mid-gesture reversal is treated as overshoot/correction within one relative scroll.
2. **Most-recent segment** (`200 → 150`): direction = back. The reversal is the user's final intent.

-- 
GitHub Notification of comment by hiikezoe
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12840#issuecomment-4434796893 using your GitHub account


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

Received on Tuesday, 12 May 2026 21:02:44 UTC