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.

Added non-passive event listener to a scroll-blocking 'touchstart' event.

See original GitHub issue

Is 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

Screenshot from 2019-09-26 12-19-41

I experienced problem using vue.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:6

github_iconTop GitHub Comments

3reactions
simonmaasscommented, Oct 23, 2020

can confirm the same problem - any news here?

3reactions
alenammcommented, Sep 16, 2020

I have same issue, disabling zoom does not help. This was first reported almost a year ago. Any progress?

Read more comments on GitHub >

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

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