react-scrollbar icon indicating copy to clipboard operation
react-scrollbar copied to clipboard

A few enhancements?

Open aprilmintacpineda opened this issue 8 years ago • 3 comments

Can we just provide more props to customize the scrollbar? such as

  • Thickness
  • RoundedCorners
  • Trails
  • TrailColor
  • ScrollbarColor
  • Horizontal
  • Vertical and more

aprilmintacpineda avatar Feb 25 '17 04:02 aprilmintacpineda

Hi! Can't we set all of this through css? (except Thickness)

usulpro avatar Feb 25 '17 06:02 usulpro

It seems to me that even the thickness can be set through css (it corresponds to the size variable in the source code).

alaindresse avatar Feb 25 '17 14:02 alaindresse

But wouldn't it be a more efficient library if we don't mess the its css? I find it more interesting and efficient if we can just do something like

<ScrollBar bar-thickness={3} trail-visibility="always (or maybe onScrollOnly|never)" blah blah>
   Children here
</ScrollBar>

aprilmintacpineda avatar Feb 28 '17 09:02 aprilmintacpineda