Re: [csswg-drafts] [cssom-view] Clarify scroll-behavior: "auto" (#3497)

I also think `instant` has its use cases. Without `instant` one cannot "jump scroll" when the CSS property `scroll-behavior` is set to `smooth`, because the `behavior` property of the `Element.prototype.[scroll|scrollTo|scrollBy|scrollIntoView]` or `window.[scroll|scrollTo|scrollBy]` methods will fallback to the CSS property even if `auto` is explicitly set ([see spec](https://drafts.csswg.org/cssom-view/#scrolling)). This limitation also means that custom JavaScript scroll functions that implement their own smooth scrolling won't work.

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


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

Received on Wednesday, 29 December 2021 22:01:10 UTC