Skip to content
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

Do research on scrollbars #8

Closed
gregwhitworth opened this issue Sep 6, 2019 · 7 comments
Closed

Do research on scrollbars #8

gregwhitworth opened this issue Sep 6, 2019 · 7 comments
Labels
backlog When issues are closed put them on the backlog if they should be considered for re-opening enhancement New feature or request research This is for any issue that is related to open-ui research work stale

Comments

@gregwhitworth
Copy link
Member

There is a common request for more control over scrollbars. There is a specification for improving control here but not nearly to the extent that web developers desire: https://drafts.csswg.org/css-scrollbars-1/

This one is a bit different from the other components here as most design systems don't consider this a component in itself. Commonly JS libs are used to solve this issue, worth looking into those.

@gregwhitworth gregwhitworth added research This is for any issue that is related to open-ui research work enhancement New feature or request labels Sep 6, 2019
@Malvoz
Copy link
Contributor

Malvoz commented Sep 9, 2019

@cactysman
Copy link

Scrollbars are also one of the things that still need vendor-specific selectors if desired to be customized.
It would be great if we could unify those one day.

@gregwhitworth gregwhitworth added the backlog When issues are closed put them on the backlog if they should be considered for re-opening label Aug 12, 2020
@gregwhitworth
Copy link
Member Author

There hasn't been movement on this in a while so I'm going to close this but put it on the backlog.

@lukaszpolowczyk
Copy link

lukaszpolowczyk commented Feb 22, 2022

I would like a Custom Scrollbar.

So that the Scrollbar could use for example decorators like in VSCode, adjust a different action for e.g. onmousedown button===1 on individual elements of the scrollbar, add additional elements inside the scrollbar using the shadow house.
Such Custom Scrollbar would be automatically added to all or specifically selected by the developer.

Just adding CSS styles is definitely not enough.

@lukewarlow
Copy link
Collaborator

Based on https://drafts.csswg.org/css-scrollbars/#out-of-scope I'm unsure there's much value in looking into scrollbar customisation as part of Open UI efforts. scrollbar-color and scrollbar-width should provide enough for most design systems to be satisfied with. There's also been some movement to actually implement them in WebKit and Chrome (admittedly that movement is from me), so these should actually be interopably usable soon.

@github-actions github-actions bot removed the stale label Sep 22, 2023
Copy link

There hasn't been any discussion on this issue for a while, so we're marking it as stale. If you choose to kick off the discussion again, we'll remove the 'stale' label.

@github-actions github-actions bot added the stale label Mar 20, 2024
@bkardell
Copy link
Collaborator

Closing this based on a rough agreement of what @lukewarlow said above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog When issues are closed put them on the backlog if they should be considered for re-opening enhancement New feature or request research This is for any issue that is related to open-ui research work stale
Projects
None yet
Development

No branches or pull requests

7 participants