Re: [csswg-drafts] [css-overflow] add method to prevent elements from contributing to scrollable overflow (#8361)

> The question is if we specify none, what are the effects on scrolling / snapping operations? Would we prevent snapping / scrolling to this element?

Could we treat this similar to an element that is placed wholly or partly into the [negative scrollable overflow region](https://www.w3.org/TR/css-overflow-3/#negative-scrollable-overflow-region)? Such an element won't extend the scrollable overflow area, and the [used snap point](https://www.w3.org/TR/css-scroll-snap-1/#unreachable) for the element is the position resulting from scrolling as much as possible towards the desired snap point in the relevant axis?

Regarding snapping operations: there is a related issue https://github.com/w3c/csswg-drafts/issues/7885 containing use cases for extending the scrollable overflow area to make snap points reachable. Maybe that issue could be solved with the same property/-ies?

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


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

Received on Thursday, 13 June 2024 19:24:36 UTC