- From: Robert Flack via GitHub <sysbot+gh@w3.org>
- Date: Tue, 10 Oct 2023 17:05:03 +0000
- To: public-css-archive@w3.org
Developers could also use `scrollParent` from #1522 if they wanted to for example scroll every scroller from the target to some particular ancestor. E.g. ```js function scrollElementIntoView(ancestor, target) { while (target && target != ancestor) { target.scrollIntoView({scroll: "nearest"}); target = target.scrollParent; } } ``` -- GitHub Notification of comment by flackr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9452#issuecomment-1755884639 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:05:05 UTC