-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-overflow-4][css-overflow-3] What is with scrollbar-gutter and overlay scrollbars now? #7161
Comments
Hm. Or can there be a scrollbar-gutter: overlay? |
scrollbar-gutter has no inherent connection to overlay scrollbars, and isn't intended to influence any browser's decisions to expose or not expose overlay scrollbars controls. That said, I'm not actually sure what you're asking about in this issue. Could you restate your question? |
How to make overlay scrollbars without overflow overlay? |
Yeah, it's kinda ridiculous we still don't have a way to force overlay scrollbars in 2023 😕 |
We have browsers explicitly rejecting the ability to force a scrollbar to be overlay. We're not missing this functionality by accident. (I personally disagree with this, but specs can't force behavior, only help align behavior that implementors agree with.) |
Isn't their stance pointless since the page author can imitate the overlay scrollbars via JS+DOM? |
I've talked to one that develops a... I think really known one. And the issue is with CTRL + F. The highlights. They can't implement those. |
This goes back to the issue #6090
It's about these classic and overlay scrollbars.
I think
scrollbar-gutter
has been implemented into Google Chrome and Firefox, however I am not sure if someone said thatscrollbar-gutter
could be used to preserve these overlay scrollbars, but it doesn't seem to be the case, without havingoverflow: overlay
However, I see people that say, that
overflow: overlay
would force people to set their overflow to overlay inorder to have overlay scrollbars. I mean, I guess this is not wrong, however this doesn't solve the fact that there's nothing for scrollbars to overlay over an overflow or something.scrollbar-gutter: none
doesn't exist and was discussed here once #4501, and instead someone said that it would bescrollbar-gutter: stable
but I think that's not doing anything noticable either, in combination with any overflow value. Exceptoverflow: hidden
there it shows the "gutter" but no scrollbar.scrollbar-width
doesn't allow numbers apparently. I can't do something like10px
.Reading through this https://drafts.csswg.org/css-overflow-3/#overlay-scrollbars talks about overlay scrollbars, and that a gutter apparently can be removed, but I don't think that's working.
So what's with overlay scrollbars now?
I am not sure if the browsers implemented it wrongly. I don't even know where an actual working CSS Environment test browser where all features are implemented properly can be found at.
The text was updated successfully, but these errors were encountered: