-
Notifications
You must be signed in to change notification settings - Fork 28
Combined horizontal swipe and native vertical scrolling doesn't work on Android Chrome (V29) #20
Comments
👍 On this I am experiencing the same problem - did you find a solution @fcavelti? |
@nickpellant: No solution so far, I was working on other things in the meantime. Please let me know if you find one ;-) |
+1 |
3 similar comments
+1 |
+1 |
+1 |
I had a similar problem (needed vertical scrolling) and found this answer on stackoverflow: added this code to the view to handle it:
hope that helps |
@meori Thanks! I think this will help me. |
+1 |
+1 |
+1 |
Hi everyone, I apologize for the late reply, I have been maintaining ember-touch after the first initial release and have used it in 3 production apps. During this time, I realized that having a solid open source library to build and coordinate gestures is something useful for the web ecosystem and maybe it is a key factor to create web touch experience as competitive as native. However, this library is not only useful to the ember community, so I decided to help building the version 2 of HammerJS which brings some of its missing features (support for recognizing multiple gestures simultaneously and an API to coordinate complex gesture scenarios), so the final result is a library which can be wider adopted and will be better maintained on the long term. Because of these reason, I am not maintaining ember-touch and suggest everyone migrating its app to the current new version of HammerJS. |
@ppcano hey man thanks for the update. I already migrated my apps to HammerJS. It would be nice if you could point developers to HammerJS in project page. Oh, btw HammerJS is awesome. |
@pniraula, Yes!!, I'll do it. If you need to recognize gestures simultaneously and need an API to coordinate them, you should check the new version and please, provide your feedback. |
I slightly modified the sample code from http://ember-touch-website.herokuapp.com/#/swipeAndPress:
The code acts as expected on many browsers / mobile platforms (Safari + iPhone, Firefox + Android, Android Internet Browser + Android). It recognizes the horizontal swipes while vertical scrolling is properly handled by the browser.
But it doesn't work on Chrome V29 on Android on both my devices (Google Nexus 7 V1 and Samsung Galaxy Nexus).
The only way I found to make ember-touch notice the swipes on Chrome was by preventing the default action in touchMove(). But this breaks vertical scrolling.
The text was updated successfully, but these errors were encountered: