Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox 35.0.1 always swipes two slides. #33

Closed
Mody11 opened this issue Jan 30, 2015 · 7 comments
Closed

Firefox 35.0.1 always swipes two slides. #33

Mody11 opened this issue Jan 30, 2015 · 7 comments

Comments

@Mody11
Copy link

Mody11 commented Jan 30, 2015

Hi,
thanks for that great script. But I got one issue i can't fix so far. If i test it on Firefox 35.0.1 and also on the Firefox Developer Edition, the keyboard navigation works fine, but if i scroll, it always swipes two slides. It doesn't matter how carefull i scroll, it jumps from page one to page three or from page two to page four. It even doesn't matter in with section.
Chrome and Safari on Mac work great.

Do you habe any idea?

Thanks

@marcolago
Copy link
Owner

Hi,
thanks for letting me know this issue, I was not ware of this problem.

I think that something is changed in scroll events management in the latest versions of Firefox (I've always tested the script on Nightly but never noticed the problem) but I'll check this as soon as possible.

The strange thing is that in Firefox the scroll jumps 2 or more slides only using the trackpad but is ok using a mouse scrollwheel.
Another thing is that while testing on other browser a few minutes ago I've noticed that the delay time from the scroll gesture and the navigation is too high using a MacBook Pro built-in trackpad or the magic trackpad but is ok when using a regular mouse.

Do you notice a delay around a second or more scrolling in Chrome?

I'll let you know when I've fixed the Firefox problem—or at least when I've tried ;)
Thanks for the patience.

@Mody11
Copy link
Author

Mody11 commented Jan 30, 2015

Hi,

thanks for your replay.
Yes, in Chrome and also in Safari the delay is to high. I tested with the buildin trackpad and with a apple magic mouse.
Don't know how it works with a scrollwheel.

I'll test asap.

Thanks

@marcolago
Copy link
Owner

Could you please test again at the URL http://flowtime-js.marcolago.com and let me know if the problem is still present?

While testing today I've noticed that the problem seems disappeared without any fix.
There’s still the greater delay when using the trackpad, and I will try to fix this (if it’s a problem that belongs to the frontend code and not to some browser’s quirks).

Thanks in advance for the help.

@Mody11
Copy link
Author

Mody11 commented Feb 2, 2015

I tested it again, but the problem still exists.
With the magic (touch) mouse you can't scroll only one slide. With the trackpad it works, but only if you scroll very carefully and only with the delay.

So nothing changed for me yet.

@marcolago
Copy link
Owner

Ok. I’m going to rewrite the scroll management.
Thanks for the test.

@marcolago
Copy link
Owner

Hi. Just a reminder to let you know that I’m working on the issue and as far as I know is a problem with the momentum management.

I’ve not yet found a solution, but I’m on it!

@marcolago
Copy link
Owner

I’m sorry but the problem is related to the system management of the momentum scrolling.
AFAIK is not possible to bypass the native scroll behavior inside the browser without ugly hacks at the risk of breaking other things.

I close for now but I will check again in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants