Re: [csswg-drafts] [css-scroll-snap-2] Better snap physics and customization? (#8549)

Another factor to think about is how the scroller is only allowed to have [`mandatory || proximity`](https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-type) snap points. This would be like flexbox not having `align-self` or `place-self`. 

I'm wondering if something like `scroll-snap-point-type: mandatory || proximity`, set on an item basis, would help single scrollers be more flexible. This would help snap points be more viable on a full document, for example, as it's very annoying if the scroller is set to mandatory, the user can't place the scroller in any position they want. It would be nice if certain large landmarks could individually be mandatory, making them a bit more greedy in terms of proximity and magnetizing the scroller to it while all the other snap points are light suggestions.

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


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

Received on Wednesday, 15 March 2023 21:51:04 UTC