Permalink
Browse files

Increased the scrollSupressionThreshold from 10 to 30 pixels

This makes the swipe tolerances more forgiving so it doesn't interfere
with scrolling. Fixes #2107
  • Loading branch information...
1 parent 7f38595 commit 94d773e1b5f91d72210d182284e1de668978737a @toddparker toddparker committed Jul 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/events/touch.js
View
@@ -122,7 +122,7 @@ define( [ "jquery", "../jquery.mobile.vmouse" ], function( $ ) {
// also handles swipeleft, swiperight
$.event.special.swipe = {
- scrollSupressionThreshold: 10, // More than this horizontal displacement, and we will suppress scrolling.
+ scrollSupressionThreshold: 30, // More than this horizontal displacement, and we will suppress scrolling.
durationThreshold: 1000, // More time than this, and it isn't a swipe.

0 comments on commit 94d773e

Please sign in to comment.