wieringen / tinyscrollbar

A lightweight cross browser javascript scrollbar.
http://baijs.com/tinyscrollbar
Other
398 stars 203 forks source link

Horizontal Scrolling in Firefox Breaks when Scrolled Vertically #42

Open John3x opened 9 years ago

John3x commented 9 years ago

Any ideas on how to remedy this? I lose control of the scrollbar entirely in Firefox on scrolling up or down until issuing an update command.

wieringen commented 9 years ago

Can you give some more information? I cant reproduce the bug.

John3x commented 9 years ago

Sure. I was actually able to workaround by doing the following, which disabled vertical scrolling translating to horizontal distance but doesn't break the scrollbar.

In the wheel function of the JQuery plugin.

if(isNaN(wheelSpeedDelta)){ return; }

yairEO commented 9 years ago

demo is broken for me too (FF 33)

wieringen commented 9 years ago

Can you check if its fixed in latest verison?

John3x commented 9 years ago

On my webapp, your new version works for vertical scrolling translating correctly to horizontal distance in firefox, but causes wheelSpeedDelta to return NaN now on horizontal scrolling. Less desirable outcome, so I will need to revert.

wieringen commented 9 years ago

Are you on windows? I just cant seem to reproduce your findings. Does this also happen on my webpage?

John3x commented 9 years ago

No, your webpage works (and did in the previous version too). I'm experiencing this on Mavericks.

wieringen commented 9 years ago

Hmm strange. Can you share a link to your webapp or provide a testcase?

Homa commented 7 years ago

I use vertical tinyscrollbar on FF 45.6.0 on mac . When I use mouse pad(wheel), sometimes it freezes and I get wheelSpeedDelta equal to NaN.