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

A few enhancements? #15

Open
aprilmintacpineda opened this issue Feb 25, 2017 · 3 comments
Open

A few enhancements? #15

aprilmintacpineda opened this issue Feb 25, 2017 · 3 comments

Comments

@aprilmintacpineda
Copy link

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

  • Thickness
  • RoundedCorners
  • Trails
  • TrailColor
  • ScrollbarColor
  • Horizontal
  • Vertical
    and more
@usulpro
Copy link
Contributor

usulpro commented Feb 25, 2017

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

@alaindresse
Copy link

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

@aprilmintacpineda
Copy link
Author

aprilmintacpineda commented Feb 28, 2017

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants