感受呼吸
感受呼吸
  • 发布:2017-12-04 18:50
  • 更新:2019-04-23 14:50
  • 阅读:1850

左右拖动事件的警告错误

分类:HTML5+
h5+

当页面存在左右滑动事件的JS组件时,无论原生还是JQUERY组件,在部分安卓机上会报警告:

> Blink deferred a task in order to make scrolling smoother. Your timer and network tasks should take less than 50ms to run to avoid this. Please see https://developers.google.com/web/tools/chrome-devtools/profile/evaluate-performance/rail and https://crbug.com/574343#c40 for more information.

造成滑动时无效,或者很难滑动,查了问题贴,看之前有人提过类似的问题,但并未得到解答。

因为slider并未使用官方提供的slider控件,现在出现这个问题,很麻烦,很多机型甚至无法正常滑动幻灯,而且之前使用过一些模拟滚动的控件,都存在这个问题。官方提供的scroll也不是很好用。。。经常会有冲突,很郁闷

2017-12-04 18:50 负责人:无 分享
已邀请:
Junn

Junn - 面向金钱编程

遇到同样的问题

该问题目前已经被锁定, 无法添加新回复