<ion-content class="orderFormHeader">
<ion-refresher (refresh)="doRefresh($event)">
<ion-refresher-content></ion-refresher-content>
</ion-refresher>
<ion-list *ngIf="listData!=null&&listData.length>0">
<ion-item *ngFor="#obj of listData">
<orderitem [item]="obj"></orderitem>
</ion-item>
</ion-list>
</ion-content>
My code above.
At first,the listData
is null, doRefresh
will give more than 20 items into listData
.
you can pulling down smoothly.
But when you pulling up back, it FAR FROM THE TOP,
The doRefresh
triggered, then the list jumpped to the TOP. You can't see any item mid of the list.
Chrome console warn:
Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
ionic CLI v2.0.0-beta.17