admin管理员组

文章数量:1026989

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.

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.

本文标签: infinite scrollOn scrolling showing intervesion error in chrome console