When I used this library, I found that the gestures of swiping had to be fairly exact in the wanted direction.
In the downloaded plugin index.js I've added a "coneSwipeWidth" option to the plugin which dictates how much a user can move in the perpendicular direction relative to the dominant swiping direction.
See code attachement. If the user swipes within that cone, then the gesture is still considered to be that direction.
I've added my version as a file attachment.
Line 47 and 129-132 have been added / changed
When I used this library, I found that the gestures of swiping had to be fairly exact in the wanted direction. In the downloaded plugin index.js I've added a "coneSwipeWidth" option to the plugin which dictates how much a user can move in the perpendicular direction relative to the dominant swiping direction.
See code attachement. If the user swipes within that cone, then the gesture is still considered to be that direction.
I've added my version as a file attachment. Line 47 and 129-132 have been added / changed