Im currently pulling my hair out trying to get iscroll 4 working with jQuery Mobile.
It all works fine it i disable JQM ajax default navigation but I would like to retain this.
My issue is I cant work out how to successfully call/bind iscroll so it works with the pages that need them. I have tried pageinit() and pagecreate() to no avail.
Any pointers much appreciated.
A.
I initialize/refresh the iScroll instances on the
pageshow
andorientationchange
events. I set a class ondata-role="content"
divs that I want to be scrollable (in this instance I used the.content
class).