question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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 issue

One-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:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
PowerWeb5commented, Jan 29, 2022

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.

2reactions
candy4290commented, Jan 25, 2018

echarts图出现一个就会报一个这样的警告,不使用echarts,就没有这样的警告

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found