Ionic2.3 ionScroll not trigger


#1

in ionic2.3 I used ion-content ionScroll,not trigger.

ngAfterViewInit(){
//nothing happend
this.scrollArea.ionScroll.subscribe((ev) => {
console.log(ev)
});

not work.who can solve?


#2

I have the same problem! with “ionic-angular”: “2.3.0” and found this solution

ionViewWillEnter() {
    this.content.enableScrollListener();
    this.content.ionScroll.subscribe(($event: any) => {
       console.log($event)
    });
 }

#3

Seems much simpler to me to do this:

<ion-content (ionScroll)="onScrollStarted()">