I'm building webapp that has browser's native scroll disabled and instead of that I'm using iScroll. I encountered following problem with newest Firefox.

Using two-finger-scroll on my MacBook Air with Firefox 23.0.1 the iScroll 4 scrolls only under 10px per scrolling gesture, in older firefox the scroll was smooth as it is on Safari and Chrome and the scroll lenght was many tens of pixels long. If I use ordinary mouse with rolling mouse wheel, the scroll is as it should be.

Folks with macbooks and firefox version 23 can test the issue even on iScroll -demo page, http://lab.cubiq.org/iscroll/examples/simple/ .

New version Relase notes http://www.mozilla.org/en-US/firefox/23.0.1/releasenotes/ says this ' Added unprefixed requestAnimationFrame', that is the only thing updated which might have something to do with it.

I tried to find a solution for the problem from iScroll's code that determines the vendor (moz-, webkit- o- etc.) for css-transfomations and so on, based on current browser. I had no luck with that, unfortunately.

I updated my Firefox to version 23.0.1. Before that problem didn't occur at all and everything worked perfectly.

If somebody has a hunch or fact about the problem I would be thankful!

Cheers, Pyry

有帮助吗?

解决方案

I have encountered this error as well, but in my own code:

http://comic-viewer-dev.appspot.com/view/brad/

Looks like a bug in Firefox 23. I've filed it:

https://bugzilla.mozilla.org/show_bug.cgi?id=907275

... but I'd love to find a workaround in the meantime!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top