Replies: 2 comments 2 replies
-
This plugin will be added to the official plugins repository in the next version. All you need to do is to import & register the plugin by then: // smooth-scrollbar@9
import DisableScrollPlugin from '@smooth-scrollbar/disable-scroll-plugin';
new Scrollbar(elem, {
plugins: [new DisableScrollPlugin({ x: true })]
}) |
Beta Was this translation helpful? Give feedback.
1 reply
-
How to add this plugin to all? This variant:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A simple control like x: false and y: true would be a life saver as right now just to disable x axis scroll we have to create plugins with delta[x]=0 which works fine but it would be so much better to have this in the configuration
Beta Was this translation helpful? Give feedback.
All reactions