ionic-framework
ionic-framework copied to clipboard
[v2] Ion-infinite-scroll error when leaving page
Just wanted to bring to your attention the following error when leaving a page that uses ion-infinite-scroll:
EXCEPTION: TypeError: Cannot read property 'removeEventListener' of null
<ion-infinite-scroll (infinite)="doInfiniteScroll($event)">
<ion-infinite-scroll-content></ion-infinite-scroll-content>
</ion-infinite-scroll>
Reproduce by:
- Add the above code to a list page
- Navigate to that page
- Navigate to another page
- View console output
My system information:
Cordova CLI: 6.0.0
Ionic Version: 2.0.0-beta.2
Ionic CLI Version: 2.0.0-beta.19
Ionic App Lib Version: 2.0.0-beta.9
ios-deploy version: 1.8.5
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v4.3.1
Xcode version: Xcode 7.2.1 Build version 7C1002
Not positive, but this could also be related to this similar issue.
thanks problem fixed....thankyou IIgnatov...