ionic2 - ionic 2 ion-refresher always fired when pulling up after the on-refresh function triggered once -


appearing error

<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

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -