Re: [csswg-drafts] [css-scroll-snap] Snap direction needed for snap-overflow (#5123)

@majido I think you are thinking about how to choose which snap position considering multiple elements on the page, whereas @guidobouman afaict is talking about snapping to a *single* element that happens to be larger than the viewport.

For example, consider a section that is three screenfuls tall. The desired behavior is that when you scroll down, the UA snaps to the top edge, but when scrolling up snaps to the bottom edge -- in other words, to the nearest edge. Currently, we can decide to always snap to the bottom edge or always to the top edge, but not the nearest one. See the demos in the OP.

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


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

Received on Wednesday, 11 November 2020 22:23:23 UTC