-
Notifications
You must be signed in to change notification settings - Fork 41
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
Accelerating fires two events instead of one #25
Comments
Hello, @alvarotrigo Can you say your browser, os version and device model? |
Mac OS X Yosemite 10.10.3 |
@alvarotrigo On the video looks like you did two movements, one small in begin, and then second long. It's not a bug, also we can't detect such situations. About log. it's very strange sequence for one movement. Algorithms detected ['up', 'up', 'down']. It really was one movement? |
It was only one movement. None stop. Slow scrolling at first and accelerating at the end. Here you have another log:
It enters in the Here you can play with it in the fiddle, you'll see in the right the delta values and a line whenever a new movement is detected when it shouldn't. Something like:
|
Sometimes even 3 scrolls were detected with a single swipe:
|
I attach another video where you can clearly see I'm only swiping once and how two "up" arrows are being generated in your site. |
What about using an average of the last scrolling values as a check instead of the exact value of the last 3 scrolls? (which as you saw, might lead to problems) Take a look at the implementation of fullPage.js to see if it is accelerating or not. |
@alvarotrigo hello. Sorry, but right now we don't have enough time for research the problem. Soon we will try to come back to this. |
@alvarotrigo we have written new beta (works only with chrome yet). Check it out and give feedback please. |
Hi @f0rmat1k , it seems it has improved for kinetic scrolling trackpads, but now it reports two scroll for normal scroll mouses when the 1st and the 2nd scroll are not very close to each other. |
It still sometimes trigger 2 times for me too with a magic mouse. |
@AntoineBoulanger Ye, there is a small chance that double event occur. But we don't know yet what to do :). |
First of all, congratulations for the script! It seems to work quite well in general.
I found a couple of small problems, this is one of them as you can see in the video:
https://vimeo.com/131253387
The text was updated successfully, but these errors were encountered: