From d129f62e25899d4df04959cccaf9a3e1b8d27328 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Fri, 24 Aug 2018 23:26:33 +0200 Subject: [PATCH] fix(refresher): tune threshold fixes #15233 --- core/src/components/nav/test/basic/index.html | 6 ++++++ core/src/components/refresher/refresher.tsx | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/core/src/components/nav/test/basic/index.html b/core/src/components/nav/test/basic/index.html index e60f746126..6daf146a9b 100644 --- a/core/src/components/nav/test/basic/index.html +++ b/core/src/components/nav/test/basic/index.html @@ -17,6 +17,9 @@ + + +

Page One

Go to Page Two @@ -37,6 +40,9 @@ + + +

Page Two

diff --git a/core/src/components/refresher/refresher.tsx b/core/src/components/refresher/refresher.tsx index c176185fbc..494b49306a 100644 --- a/core/src/components/refresher/refresher.tsx +++ b/core/src/components/refresher/refresher.tsx @@ -108,7 +108,7 @@ export class Refresher { gestureName: 'refresher', gesturePriority: 10, direction: 'y', - threshold: 10, + threshold: 20, passive: false, canStart: this.canStart.bind(this), onStart: this.onStart.bind(this),