Allow touch action
Closed this issue · 2 comments
dominikIncibit commented
The default behaviour is touch-action: none; which prevents scrolling vertically on mobile devices. To circumvent this limitations you could just allow touch-action and additionally add this check in _trackMove:
if(Math.abs(trackData.dx)<75){
return;//probably swipind down
}
of course the treshhold value (75) could be adjusted.
MeTaNoV commented
This is indeed very valuable! Are you using Cordova for your app?
dominikIncibit commented
Yes, im using cordova in conjunction with crosswalk so that its even working on older devices.