ScrollArea component
s
samadadi
Please add ScrollArea component to the collection too. Like: https://www.radix-ui.com/primitives/docs/components/scroll-area
Segun Adebayo
We’re not inclined to add this to Zag given the fact that CSS support is almost there.
ScrollArea is a polyfill for scroll gutters (“auto”) in CSS.
Read me here: https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter
Jakob Norlin
Segun Adebayo it also helps with styling of the knob and gutter, but I guess support for those will improve in CSS as well, eventually.
p
psychedelicious
Segun Adebayo the main draw for me for a custom scroll bar component is to provide overlay scroll bars on systems where it isn’t enabled or implemented. From my read of the linked spec, it does not provide this functionality
Jakob Norlin
Upvoted this, but mainly for SolidJS rather than React