I got an Uncaught TypeError: Cannot read property 'scrollTop' of undefined from line 272, where scrollTop is retrieved from e.detail. It seems that when using jQuery, it stuffs the event details into the originalEvent property. I fixed this in my app by replacing
var scrollTop = e.detail.scrollTop;
with
var scrollTop = e.originalEvent ? e.originalEvent.detail.scrollTop : e.detail.scrollTop;
I got an Uncaught TypeError: Cannot read property 'scrollTop' of undefined from line 272, where scrollTop is retrieved from e.detail. It seems that when using jQuery, it stuffs the event details into the originalEvent property. I fixed this in my app by replacing
var scrollTop = e.detail.scrollTop;
with
var scrollTop = e.originalEvent ? e.originalEvent.detail.scrollTop : e.detail.scrollTop;