ionic2 - ionic 2 ion-refresher always fired when pulling up after the on-refresh function triggered once -
<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
null, dorefresh
give more 20 items listdata
. can pulling down smoothly.
but when pulling back, far top,
the dorefresh
triggered, list jumpped top. can't see item mid of list.
chrome console warn:
ignored attempt cancel touchmove event cancelable=false, example because scrolling in progress , cannot interrupted.
ionic cli v2.0.0-beta.17
im update ionic-framework beta.2,the problem's gone~
"ionic-framework": "2.0.0-beta.2"
thanks pro-matser
this gave me:
https://github.com/driftyco/ionic/milestones pull refresh - bug fixes beta.2
if has problem , plz update upper ver~
Comments
Post a Comment