forcedotcom / scrollerjs

A JavaScript library that helps you build performant UI components for the web.
http://scrollerjs.com
Apache License 2.0
636 stars 63 forks source link

Scroll behaves differently in Firefox and Chrome (desktop) #1

Closed bitinn closed 6 years ago

bitinn commented 9 years ago

Firefox scrolls much more slowly than Chrome (when using mouse wheel).

diervo commented 9 years ago

Scroll wheel is quite diffferent depending on the platform and also on the peripheral (mouse, trackpad) that you use. I will take a look and try to make some improvements soon. Will try to make it for next release at the end of the month.

bitinn commented 9 years ago

Thx for the reply, I was curious if this was a known limit (given the focus is on mobile).

FYI:

so likely has something to do with how firefox fire mouse wheel event.

webdesignberlin commented 9 years ago

As bitinn said:

Firefox scrolls much more slowly than Chrome (when using mouse wheel).

On Firefox 38.0.5 & Firefox Developer Edition 40.0a2 (2015-05-26) it scrolls very slow (it doesnt work). I got an Error: TypeError: STYLES.matrix is not a constructor

diervo commented 6 years ago

Closing this this browser versions are very old already.