Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

custom vs default scrollbar styling #415

Closed
lapski opened this issue Jul 8, 2013 · 0 comments
Closed

custom vs default scrollbar styling #415

lapski opened this issue Jul 8, 2013 · 0 comments

Comments

@lapski
Copy link

lapski commented Jul 8, 2013

It seems that if scrollbars is set to 'custom' , some styling (right: 2px) still gets applied to the indicator which I think might be meant for the default scrollbar.
defaultScrollbars will be set to true even if scrollbars is equal to 'custom', but not if it's an object (for indicators). I know I can throw in a css overwrite, but thought I'd raise this in case it's not meant to be..

1637: if ( this.options.defaultScrollbars ) {
1638:   if ( this.options.listenX ) {
1639:       this.wrapper.style.right = '2px';
1640:   } else {
1641:       this.wrapper.style.bottom = '2px';
1642:   }
1643: }
cubiq pushed a commit that referenced this issue Jul 9, 2013
@cubiq cubiq closed this as completed Jul 9, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants