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

Init scrollTop #60

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

Init scrollTop #60

RedskyThirty opened this issue Nov 12, 2019 · 0 comments

Comments

@RedskyThirty
Copy link

Added this in the method "ss" :

  1. After "this.direction = ..."
    var initScrollTop = this.target.scrollTop;

  2. Before "dragDealer(this.bar, this);"
    this.el.scrollTop = initScrollTop;

# 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