``` 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 accountReceived on Wednesday, 13 September 2017 06:37:16 UTC
This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:43 UTC