-
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
AdditionalEvent "panleft" is fired when swiping down #1132
Comments
I am experiencing this problem too. I have pan This works as intended if Video demonstration incoming. |
Video demonstration: https://gyazo.com/dadccaf5375282c4eb9e619e2a0709a3 Reproduction conditions:
|
Same issue here (using vertical pan). If I accidentally pan left or right at start, I get a massive spike in the deltaY and then it stops detecting deltaY until next touch. EDIT: This also appears to only be an issue on Chrome (60). Works as intended on Firefox. |
Yikes. I can't believe hammer's still having these problems. I suspect this issue is related to a much older one: |
We've done a hack in our implementation to mitigate this issue, it's not perfect but it is better. In your pan event handler:
|
I'm also encountering this issue (using ember-gestures which uses hammerjs). Massive spike on velocity, deltaX (in my case) on a very small vertical pan. Thanks for the workaround @jakewhelan . Was already wondering why center was 0,0 anyway. |
same problem with the vertical pan. The first time on vertical pan only trigger a event |
I have the case that there are two lines of text under the component that is supposed to be swipeable left or right. Now, if you mark the text in an upwards movement and release the mouse button in the swipeable component and swipe the component down directly after that, an additionalEvent panleft is fired. When you only swipe down the component, nothing happens like it is supposed to.
The text was updated successfully, but these errors were encountered: