Skip to content
Permalink
Browse files

fix(refresher): check for cancelable before preventing default (#17351)

fixes #15256
  • Loading branch information...
BoyeMagnus authored and brandyscarney committed Mar 1, 2019
1 parent 69ecebb commit f205b1023b27dd621982e1f3d050223e17d0c087
Showing with 3 additions and 1 deletion.
  1. +3 −1 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

0 comments on commit f205b10

Please sign in to comment.
You can’t perform that action at this time.