Perfect-scrollbar: Horizontal scrolling with mousewheel

Created on 12 Feb 2013  路  4Comments  路  Source: mdbootstrap/perfect-scrollbar

For me, horizontal scrolling with the mousewheel doesn't seem to work.

In your demo (http://noraesae.github.com/perfect-scrollbar/) I changed the height to 800 to make the vertical scrollbar disappear. However, using the mousewheel the content doen't get scrolled horizontally, although there is still a scrollbar.

Is this a bug or am I missing something?

Otherwise great plugin, really like it!

Most helpful comment

Set useBothWheelAxes option to true.

All 4 comments

If I scroll, the image moves vertically.
If I shift-scroll, the image moves horizontally (regardless of the presence of a vertical scrollbar).
Is this not what you're seeing?

Exactly! (Thanks for the quick answer! I didn't know I have to use the shift key to scroll horizontally, though.)

In my specific use case there won't be any vertical scrolling at all. What's the best way to achieve horizontal scrolling without using the shift key in your opinion?

Hi!

In some laptop, the trackpad have the horizontal scrolling function, but I don't know there's other way to do that.

I thought that I can scroll horizontally with clicking wheel button and moving, but in my macbook pro it doesn't work for default browser scrolling.

And this is not answer to scroll with mousewheel, but you can surely just drag-and-drop the horizontal scrollbar.

If there's way to do horizontal scrolling efficiently, please let me know!

Regards.

Set useBothWheelAxes option to true.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

corysimmons picture corysimmons  路  6Comments

DevTony picture DevTony  路  3Comments

cmer picture cmer  路  3Comments

kty picture kty  路  5Comments

GNSubrahmanyam picture GNSubrahmanyam  路  3Comments