- From: Simon Pieters via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Sep 2017 06:37:22 +0000
- To: public-css-archive@w3.org
```
focus({ preventScroll: true });
focus({ scrollOptions: { scroll: "always" } });
focus({ scrollOptions: { scroll: "if-needed" } });
scrollIntoView({ scroll: "always" });
scrollIntoView({ scroll: "if-needed" });
```
"if-needed" would be familiar for developers using `scrollIntoViewIfNeeded()`.
--
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/1805#issuecomment-329073170 using your GitHub account
Received on Wednesday, 13 September 2017 06:37:16 UTC