mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(refresher): refresher completes even after switching to a new tab (#21236)
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user