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 |1 Answer
Reset to default 0I 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
1 Answer
Reset to default 0I 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
版权声明:本文标题:infinite scroll - On scrolling showing intervesion error in chrome console 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745575713a2157005.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
handleMouseDown
? – Jacob Peattie Commented Apr 16, 2019 at 1:52