Re: [csswg-drafts] [css-scroll-snap-1] Improve or clarify nested snap behaviors (#9187)

For the first issue, it seems like we should spec that there should be some friction in some way. E.g. maybe you have to be closer to the next snap point before it would be preferred over the end of the previous one? This would help make it easier to scroll to the end of a box / region that is larger than the scrollport without jumping to the next snap point.

For the second part, I could see replacing the distance check with something like non-aligned scroll positions are only valid if there's not a visible snap region to snap to within the larger than the scrollport region. The goal is to conceptually divide the larger snap point into valid snap regions which are before and after inner snap points.

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


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

Received on Monday, 14 August 2023 21:02:30 UTC