infinite scroll - On scrolling showing intervesion error in chrome console

When I scroll the page in chrome it show the intervention error.I tried adding various script like window.addEventListe

When I scroll the page in chrome it show the intervention error. I tried adding various script like

window.addEventListener("mousedown,wheel", handleMouseDown, { passive: false});

but unable to fix that. Please see screenshot attached.

When I scroll the page in chrome it show the intervention error. I tried adding various script like

window.addEventListener("mousedown,wheel", handleMouseDown, { passive: false});

but unable to fix that. Please see screenshot attached.

Share Improve this question asked Apr 15, 2019 at 12:02 Pawan KumarPawan Kumar 1135 bronze badges 3
  • What is handleMouseDown? – Jacob Peattie Commented Apr 16, 2019 at 1:52
  • Basically this is the callback function but have you any idea how to fix this issue. – Pawan Kumar Commented Apr 16, 2019 at 7:01
  • I know that. What’s the code? – Jacob Peattie Commented Apr 16, 2019 at 7:08
Add a comment  | 

1 Answer 1

Reset to default 0

I got an answer as google chrome has updated the feature of preventDefault on javascript. So if you delete this (preventDefault ) from js library then error generating would be removed.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745575714a4633950.html

相关推荐

  • infinite scroll - On scrolling showing intervesion error in chrome console

    When I scroll the page in chrome it show the intervention error.I tried adding various script like window.addEventListe

    12小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信