Re: [csswg-drafts] [cssom-view-1] Option for scrollIntoView that doesn't propagate to root (#9452)

@tabatkins I was originally imagining that anything "above" container would not be scrolled which would be similar but not enable passing the element itself to scroll its nearest container. This would likely be implemented by finding container's nearest scroll ancestor and stopping propagation at that node (notably *not* scrolling that node). What you've proposed is nice behavior though and I could see it solving other use cases as well (e.g. scroll the common ancestor scroll container of the button i've clicked to make target visible).

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


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

Received on Tuesday, 14 January 2025 14:34:53 UTC