Re: [csswg-drafts] [css-overflow][css-scroll-snap] Introduce mechanism to extend scrollable overflow area to make snap points reachable (#7885)

Drive-by +1 on solving this issue. Comes up more often now, with the introduction of carousels in overflow-5. For example: https://chrome.dev/carousel/horizontal/cards/.

I was more thinking of having something similar to grid’s `safe` keyword for use in a (new?) `scroll-snap-*` property. When applied, it would auto-pad the scroller so that the first item in the scroller can be snapped at the center of the scroller.

```
.gallery img {
  scroll-snap-align: safe center;
}
```

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


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

Received on Thursday, 4 September 2025 10:28:38 UTC