Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 94d773e1b5f91d72210d182284e1de668978737a 1 parent 7f38595
@toddparker toddparker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/events/touch.js
View
2  js/events/touch.js
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.