I have a cordova app for ipad that uses iScroll to scroll among pages.
All worked fine until i upgraded to iScroll5.
I changed my code, to use new constructor and parameters, but it still doesn't work. It simply doesn't scroll.
I don't know if i'm missing something obvious, but I cannot find an exaustive documentation about the upgrade.
This is an example of how I used it before (iScroll4):
var options = {hScroll:false, hScrollbar:false, snap:true, onScrollEnd: updatePages(), momentum: false};
var scroller = new iScroll("wrapper", options);
And this is how I use it now (iScroll5):
var options = {scrollX: false, snap: true, momentum: false};
var scroller = new IScroll("#wrapper", options);
scroller.on("scrollEnd", updatePages());
Any help is greatly appreciated! Thanks!