Re: [csswg-drafts] [css-transitions] smoothly transitioning scrollbars in/out when it appears/disappears (#6844)

> I think `scrollbar-gutter` was intended to solve the former. For the latter, seems to me this is more of a browser quality-of-implementation issue?

Since everything else on the page can be smootly transitioned/animated I think this should also be able to do this. Similar to how you can do:

```css
html {
  scroll-behavior: smooth;
}
```

I think you should be able to do something like:
```css
html {
  scrollbar-transition: smooth;
}
```

(Any maybe with some options for timing etc.)

The problem with `scrollbar-gutter` is that it avoids the jump but instead you get an awkward space that covers content etc.

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


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

Received on Wednesday, 26 January 2022 18:15:01 UTC