fix(refresher): refresher completes even after switching to a new tab (#21236)

This commit is contained in:
Liam DeBeasi
2020-05-11 15:21:26 -04:00
committed by GitHub
parent 8e11ecc136
commit 1e6f92377a
2 changed files with 14 additions and 7 deletions

View File

@ -149,7 +149,7 @@ export class Refresher implements ComponentInterface {
if (getIonMode(this) === 'ios') {
await translateElement(el, undefined);
} else {
await transitionEndAsync(this.el.querySelector('.refresher-refreshing-icon'));
await transitionEndAsync(this.el.querySelector('.refresher-refreshing-icon'), 200);
}
this.didRefresh = false;