Is your feature request related to a problem? Please describe.
See this reddit post.
Describe the solution you’d like
One of the answers in that reddit post was to add html {overflow-y: scroll} to the css. That seems to be perfect.
Edit: after some testing I discovered that the above css doesn’t do what I thought it did. I thought it made the scrollbar behave like a “position: fixed” element, but it actually just reserves some space for the scrollbar meaning that when there’s no scrollbar, the card is not centered horizontally.
Describe alternatives you’ve considered
There are other solutions in the post, but the average user will just not think about them and keep getting annoyed by this issue. So I think it should be added natively.
I personally don’t know much about it, but some web dev once told me not having this in the stylesheet by default is totally normal. At least for browsers.
One issue I see is if you have a small box, overflow is probably better than scrollbars. Tiny scrollbars can also be an A11Y issue.
That’s how the scrollbar works by default?
Edit: I think you misunderstood. I meant that the “auto” thing didn’t change the default behavior, i.e. the problem is not fixed.
In any case, showing the scrollbar isn’t the problem. The problem is that when it’s shown, it shifts the card’s contents instead of appearing on top, causing the jittery movement.