Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bar too big (prevent double scrollbars)! #59

Open
RedskyThirty opened this issue Nov 12, 2019 · 0 comments
Open

Bar too big (prevent double scrollbars)! #59

RedskyThirty opened this issue Nov 12, 2019 · 0 comments

Comments

@RedskyThirty
Copy link

Hello,
I fixed a small issue in the method "moveBar".

var barHeight = Math.max(_this.scrollRatio * 100, 10); _this.bar.style.cssText = 'height:' + barHeight + '%; top:' + Math.min((_this.el.scrollTop / totalHeight ) * 100, (100 - barHeight)) + '%;right:' + right + 'px;';

@RedskyThirty RedskyThirty changed the title Bar too big! Bar too big (prevent double scrollbars)! Nov 12, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant