You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm using fastclick.js together with bouncefix.js, they both work well for me, except when I reach the top or the bottom of my web, it looks like bouncefix.js will make a little scroll(1px), and that will make fastclick not work.
Any suggestion?
The text was updated successfully, but these errors were encountered:
//// Keep scrool from hitting end bounds//utils.scrollToEnd=function(el){varcurPos=el.scrollTop,height=el.offsetHeight,scroll=el.scrollHeight;// If at top, bump down 1pxif(curPos<=0){el.fastClickLastScrollTop=el.scrollTop=1;}// If at bottom, bump up 1pxif(curPos+height>=scroll){el.fastClickLastScrollTop=el.scrollTop=scroll-height-1;}};
Hello,
I'm using fastclick.js together with bouncefix.js, they both work well for me, except when I reach the top or the bottom of my web, it looks like bouncefix.js will make a little scroll(1px), and that will make fastclick not work.
Any suggestion?
The text was updated successfully, but these errors were encountered: