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

fixes #15256
This commit is contained in:
Magnus Boye
2019-03-01 20:48:14 +01:00
committed by Brandy Carney
parent 69ecebb159
commit f205b1023b

View File

@ -237,7 +237,9 @@ export class Refresher implements ComponentInterface {
}
// prevent native scroll events
if (ev.cancelable) {
ev.preventDefault();
}
// the refresher is actively pulling at this point
// move the scroll element within the content element