[Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive.
See original GitHub issueOne-line summary [问题简述]
Angular4 报
[Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive.
Version & Environment [版本及环境]
- ECharts version [3.5.4]:
- Browser version [Chrome 58.0.3029.110]:
- OS Version [macOS 10.12.4]:
Expected behaviour [期望结果]
不提示警告信息
ECharts option [ECharts配置项]
option = {
任何值
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Consider marking event handler as 'passive' to make the page ...
Handling of 'touchstart' input event was delayed for X ms due to main thread being busy. Consider marking event handler as 'passive' to...
Read more >[Violation] Added non-passive event listener to a ... - GitHub
Consider marking event handler as 'passive' to make the page more responsive.
Read more >Passive event listeners
chrome shows a warning in the console: [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking ...
Read more >Passive event warnings [63211698] - Visible to Public
[Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more ...
Read more >Bing maps violation in Chrome (non-passive event listener to ...
Consider marking event handler as 'passive' to make the page more responsive. It makes any website having any map refresh slower and slower....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I proposed a fix for this here in the appropriate library (zrenderer which was built for ECharts specifically).
If you can upvote my comment with fix, upvote the PR I added it to, and possibly add a comment there in support of it, maybe this can get fixed.
echarts图出现一个就会报一个这样的警告,不使用echarts,就没有这样的警告