Closed vibesudi closed 4 years ago
I select another Plugin "smooth-scrollbar"
@vibesudi You have to fork https://github.com/mdbootstrap/perfect-scrollbar - there you have to make your changes and after that replace perfect-scrollbar dependency in your package.json:
"vue2-perfect-scrollbar": "^1.2.3",
"perfect-scrollbar": "git+https://github.com/tibineagu/perfect-scrollbar.git#custom-classes"
Instead of git+https://github.com/tibineagu/perfect-scrollbar.git#custom-classes you have to provide your repo url
Is there any good news for this problem without using own repo?
Toggle 'suppressScrollY' when I click the page,then update(). It scroll to top . like this: https://codesandbox.io/embed/vue-perfect-scrollbar-global-registration-5mf2l?fontsize=14 I hope to stay current positon. have to edit "index.js" of perfect-scrollbar . method update: