mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 22:17:40 +08:00
fix(refresher): check for cancelable before preventing default (#17351)
fixes #15256
This commit is contained in:

committed by
Brandy Carney

parent
69ecebb159
commit
f205b1023b
@ -237,7 +237,9 @@ export class Refresher implements ComponentInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// prevent native scroll events
|
// prevent native scroll events
|
||||||
|
if (ev.cancelable) {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
|
}
|
||||||
|
|
||||||
// the refresher is actively pulling at this point
|
// the refresher is actively pulling at this point
|
||||||
// move the scroll element within the content element
|
// move the scroll element within the content element
|
||||||
|
Reference in New Issue
Block a user