-
Notifications
You must be signed in to change notification settings - Fork 580
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
height/width values for scrollbars get overridden #15
Comments
Yes, that's easy! <Scrollbars
renderScrollbarHorizontal={(style, ...props) =>
<div style={{...style, height: 10 }} {...props}/>
}/> Check out the customization section in the README |
Hi, I still get '6px' height for the horizontal scrollbar after using the above code. Other customised styles work fine except the height as I guess it was overridden by your code when rendering. Can you please confirm it? Thanks! Lifei |
Oh, you're right, I'll fix it soon! |
I've forked your repo and fixing now. Would you like me to create a pull request after the fix? |
There are some other things, related to that specific code, that I'd also like to fix. So you don't need to make a PR. I'll fix this issue on the weekend. |
This should work now! Thx for reporting! |
* master: style tweaks added shadow example bump v.2.2.2 removed redundant code, added warnings bump v2.2.1 removed unused methods bump v2.2.0 fix #15 and clean up Update CHANGELOG.md Update README.md more tests more tests improve tests more tests added tests added karma bump v2.1.2 cancel animation frame when component will unmount
We would like to change the horizontal scrollbar height as it looks smaller than the normal scrollbar in IE. At this moment, the height is hard coded in your code. Is there any way that we can customise it?
The text was updated successfully, but these errors were encountered: