- From: DavMila via GitHub <sysbot+gh@w3.org>
- Date: Tue, 03 Sep 2024 18:58:17 +0000
- To: public-css-archive@w3.org
> This property should also accept `nearest` values to allow specifying all of the [ScrollLogicalPosition](https://drafts.csswg.org/cssom-view/#enumdef-scrolllogicalposition) values of the [scrollIntoView](https://drafts.csswg.org/cssom-view/#dom-element-scrollintoview) API. It may make sense for scroll snapping to support `nearest` as well to support making items that snap such that they're not partially in view but don't have a particular affinity for aligning only on one side of the scrollport. This proposal makes sense to me overall but I could use some help clarifying the concept of "items that snap such that they're not partially in view but don't have a particular affinity for aligning only on one side of the scrollport." Is this similar to scrollIntoView's concept of nearest where if the element is already partially in view, no scrolling happens? -- GitHub Notification of comment by DavMila Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10774#issuecomment-2327210568 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 3 September 2024 18:58:18 UTC