Re: [csswg-drafts] [cssom-view-1] Provide option for scrollIntoView that only scrolls a single scroll container. (#9452)

<details>

<summary>Watch a video reproducing the issue</summary>

https://github.com/w3c/csswg-drafts/assets/1134620/de79fadc-807a-44bd-aec0-e75671fce0bf

</details>

[Try this demo here](https://gui-challenges.web.app/tabs/dist/#overscroll)

Since `scrollIntoView()` does so much jumping and aggressive recursive scroll adjusting, the API was avoided entirely in this [carousel demo](https://gui-challenges.web.app/carousel/dist/), where I manually (and included logical directionality) used `scrollTo()`.

As mentioned by [Michael here on Twitter](https://x.com/mic_gallego/status/1711609785160978767?s=20), `scrollIntoView()` as it currently is, is hardly usable.

I prefer `option 1` as the solution 👍🏻
would make the API usable for me in a component driven environment




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


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

Received on Tuesday, 10 October 2023 17:12:03 UTC