You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting some incorrect swipe directions. If I swipe right, this is sometimes interpreted as a swipe up. This happens if I deviate slightly from a flat sideways swipe.
I looked at the code. The problem is in these statements:
Thanks for the heads up. Are you able to share a basic working example which demonstrates this? I will be happy to look into it, but I fear that it could be difficult. The library doesn't know anything about other events that are bound to the element, only the one that it is currently occurring.
Is it not viable that you can increase the threshold for a vertical swipe?
I have attached a fixed version of jquery.mobile-events.js. I have tested it and it has fixed the problem.
(I have not attached a file before; I hope I have done it correctly)
I am getting some incorrect swipe directions. If I swipe right, this is sometimes interpreted as a swipe up. This happens if I deviate slightly from a flat sideways swipe.
I looked at the code. The problem is in these statements:
If a slight vertical swipe amount exceeds the threshhold, it is interpreted as swipeup, even though a much greater horizontal swipe occurred.
If there is more horizontal movement than vertical movement, this should be interpreted as swiperight.
Edit:
Actually it is the next 2 statements that "win":
So the swiperight is interpreted as swipedown.
The text was updated successfully, but these errors were encountered: