Added non-passive event listener to a scroll-blocking 'touchstart' event.
See original GitHub issueIs your feature request related to a problem? Please describe. In chrome I see warning
apexcharts.esm.js:7 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
Describe the solution you’d like Problem was described here
https://github.com/angular/components/issues/4221
And it seems that we should use
document.addEventListener('touchstart', handler, {passive: true});
Describe alternatives you’ve considered
It can be problem from one of dependencies of apexchart. I can’t find touchstart
in source code of apexcharts.
Additional context I attaching screenshot
I experienced problem using vue.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:6
Top Results From Across the Web
Added non-passive event listener to a scroll-blocking ' ...
This solve the problem to me: jQuery.event.special.touchstart = { setup: function( _, ns, handle ){ if ( ns.includes("noPreventDefault") ) ...
Read more >[Violation] Added non-passive event listener to a scroll- ...
[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more ...
Read more >Bing maps violation in Chrome (non-passive event listener ...
[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make ...
Read more >jQuery : Added non-passive event listener to a scroll-blocking ...
jQuery : Added non - passive event listener to a scroll - blocking ' touchstart' event [ Beautify Your Computer ...
Read more >Non-passive event listener warning in Chrome console - v6
[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make ...
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
can confirm the same problem - any news here?
I have same issue, disabling zoom does not help. This was first reported almost a year ago. Any progress?