From f205b1023b27dd621982e1f3d050223e17d0c087 Mon Sep 17 00:00:00 2001 From: Magnus Boye Date: Fri, 1 Mar 2019 20:48:14 +0100 Subject: [PATCH] fix(refresher): check for cancelable before preventing default (#17351) fixes #15256 --- core/src/components/refresher/refresher.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/components/refresher/refresher.tsx b/core/src/components/refresher/refresher.tsx index 69550e2f3f..da81476d6d 100644 --- a/core/src/components/refresher/refresher.tsx +++ b/core/src/components/refresher/refresher.tsx @@ -237,7 +237,9 @@ export class Refresher implements ComponentInterface { } // prevent native scroll events - ev.preventDefault(); + if (ev.cancelable) { + ev.preventDefault(); + } // the refresher is actively pulling at this point // move the scroll element within the content element