Open Tropix126 opened 2 years ago
something I would like if this were to be added would be the ability to use the scrollbar itself as a component (give it a height + offset) where it doesn't have a scrollable content area. Is this something you'd consider, even as just an internal component to be used to make a more general ScrollView / Scroll Area component? (wait, is that what the last consideration means)
something I would like if this were to be added would be the ability to use the scrollbar itself as a component (give it a height + offset) where it doesn't have a scrollable content area. Is this something you'd consider, even as just an internal component to be used to make a more general ScrollView / Scroll Area component? (wait, is that what the last consideration means)
ScrollBar would be an internal component I could export, yeah.
Cross-browser scrollbar theming is enraging
::-webkit-scrollbar
also has a lot of limitations.To get around this, I want to design a custom ScrollView component, that still uses native scrolling but adds our own DOM-based scrollbar component to accurately replicate WinUI's ScrollViewer.
Considerations:
A good starting place would probably be looking at how https://www.radix-ui.com/docs/primitives/components/scroll-area does it.