mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(refresher): close animation and hidden on pull down (#16700)
fixes #16254
This commit is contained in:
@ -49,7 +49,6 @@ export class Refresher implements ComponentInterface {
|
||||
*/
|
||||
@Prop() pullMax: number = this.pullMin + 60;
|
||||
|
||||
// TODO: NEVER USED
|
||||
/**
|
||||
* Time it takes to close the refresher.
|
||||
*/
|
||||
@ -323,7 +322,7 @@ export class Refresher implements ComponentInterface {
|
||||
// reset set the styles on the scroll element
|
||||
// set that the refresh is actively cancelling/completing
|
||||
this.state = state;
|
||||
this.setCss(0, '', true, delay);
|
||||
this.setCss(0, this.closeDuration, true, delay);
|
||||
|
||||
// TODO: stop gesture
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user