From 6b817f26b08d01d8367d16308db775b6192e7628 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Fri, 6 Nov 2020 12:16:45 -0500 Subject: [PATCH] fix(refresher): refresher gesture now works in side menu (#22446) resolves #20832 --- core/src/components/refresher/refresher.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/components/refresher/refresher.tsx b/core/src/components/refresher/refresher.tsx index 175f9be5f5..643456f3f1 100644 --- a/core/src/components/refresher/refresher.tsx +++ b/core/src/components/refresher/refresher.tsx @@ -242,7 +242,7 @@ export class Refresher implements ComponentInterface { this.gesture = (await import('../../utils/gesture')).createGesture({ el: this.scrollEl!, gestureName: 'refresher', - gesturePriority: 10, + gesturePriority: 31, direction: 'y', threshold: 5, onStart: () => { @@ -289,7 +289,7 @@ export class Refresher implements ComponentInterface { this.gesture = (await import('../../utils/gesture')).createGesture({ el: this.scrollEl!, gestureName: 'refresher', - gesturePriority: 10, + gesturePriority: 31, direction: 'y', threshold: 5, canStart: () => this.state !== RefresherState.Refreshing && this.state !== RefresherState.Completing && this.scrollEl!.scrollTop === 0, @@ -405,7 +405,7 @@ export class Refresher implements ComponentInterface { this.gesture = (await import('../../utils/gesture')).createGesture({ el: contentEl, gestureName: 'refresher', - gesturePriority: 10, + gesturePriority: 31, direction: 'y', threshold: 20, passive: false,