Update to 2.3.0, ionScroll event not trigger

2.1.0 work fine, today I update Ionic2 to 2.3.0, ionScroll not trigger.

html:

<ion-content (ionScroll)="onPageScroll($event)">

ts:

onPageScroll(e) { 
    console.log(e);
}

not work, what’s wrong?
thanks for help!

solved!
call content.enableScrollListener()

not mentioned in the document :sweat:

3 Likes

Good find - had me panicking for a minute!

You should create a pull request to their documentation project: https://github.com/driftyco/ionic-site/blob/master/CONTRIBUTING.md

A proper fix was done on master, which will be out with future versions.