Closed blankzust closed 7 years ago
But I need scrollEnd to excute refreshing code when scrolling to bottom
My code is easy as follows:
var myScroll = new IScroll("#wrapper", {
probeType: 2,
preventDefault: false,
interactiveScrollbars: true,
useTransform: true
});
var positionJudge = function() {
console.log(this.y, this.maxScrollY);
}
myScroll.on('scroll', positionJudge);
myScroll.on('scrollEnd', positionJudge)
scroll event is triggered
@cubiq
I solve it but I do not kown why.The result is good anyway.
Hi There, same issue here, would you pls share how u solve it?
I find the reason is 'isInTransition' is always false when refresh.