-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
ev.rotation sometimes jumps 180 degrees #610
Comments
I've just added the sorting to the uniqueArray function. Could you check if it works for you? You need to clone the repo and run |
Doesn't fix it. See comments I made in #596 . |
I am having this same issue with versions 2.02. Is there a previous version that was not having this issue? |
I had a somehow similar problem in PhantomJS but it was because of targetTouches. |
Test case using 2.0.1. To reproduce on Nexus 7:
On the console-logged events, I see the length of
ev.changedPointers
drop to 1 a couple of events beforeev.pointers
does. When this happens, the two pointers seem to swap places, i.e.ev.pointers[x].identifer != x
(the value of.identifier
seems to remain correct, but not the position inev.pointers
).Would it be enough to add a sorting step to
uniqueArray
? It only seems to be used in one place anyway.The text was updated successfully, but these errors were encountered: