Open 374003909 opened 4 years ago
我用的是iscroll-probe.js,当我快熟滑动屏幕时,我注册的scroll(myScroll.on('scroll', updatePosition))会无限执行,导致我的页面卡住没有响应了。通过我跟踪代码最终定位到_animate方法,但我也解决不了问题。
加上 keyBindings:true, disablePointer:true, disableTouch:false, disableMouse:true, window.addEventListener('touchmove',function (e) { e.preventDefault() },{passive:false}) 你应该是移动端上滑动页面出现卡顿现象
我用的是iscroll-probe.js,当我快熟滑动屏幕时,我注册的scroll(myScroll.on('scroll', updatePosition))会无限执行,导致我的页面卡住没有响应了。通过我跟踪代码最终定位到_animate方法,但我也解决不了问题。