fix(refresher): close animation and hidden on pull down (#16700)

fixes #16254
This commit is contained in:
Paul Stelzer
2018-12-12 15:21:59 +01:00
committed by Manu MA
parent 3e15402408
commit 6b0fc49519
2 changed files with 2 additions and 3 deletions

View File

@ -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
}