From ce3aa18018a7f6eb4d271cf75d94fd0a1d986215 Mon Sep 17 00:00:00 2001 From: Johann Pardanaud Date: Sat, 13 Dec 2014 20:32:38 +0100 Subject: [PATCH] Increase the value of TAP_RELEASE_TOLERANCE constant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Improves tap behaviours on iPad by reducing “missclicks” --- js/utils/tap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/utils/tap.js b/js/utils/tap.js index be161041807..f26c937725c 100644 --- a/js/utils/tap.js +++ b/js/utils/tap.js @@ -79,7 +79,7 @@ var tapLastTouchTarget; var tapTouchMoveListener = 'touchmove'; // how much the coordinates can be off between start/end, but still a click -var TAP_RELEASE_TOLERANCE = 6; // default tolerance +var TAP_RELEASE_TOLERANCE = 12; // default tolerance var TAP_RELEASE_BUTTON_TOLERANCE = 50; // button elements should have a larger tolerance var tapEventListeners = {