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.

Console warnings for non-passive scroll event handlers

See original GitHub issue

There is an issue with Chrome showing warnings for all slick components. It is related to non-passive scroll event listeners.

To reproduce, just load the demo page and see the many warnings like this:

[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive.

For more info, see this: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:22
  • Comments:22

github_iconTop GitHub Comments

11reactions
ghostcommented, Dec 5, 2017

This seems to still be happening, any updates?

8reactions
hernimencommented, Sep 22, 2017

same issue here! any updates?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Console warnings for non-passive scroll event handlers
I'm using google chrome. [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as ...
Read more >
Excessive console warnings for non-passive scroll event ...
Hi, I'm experiencing a weird bug. I have a simple slider component on a webpage. It all works fine, but when accessing the...
Read more >
Console warnings for non-passive scroll event handlers-Vue.js
[Solved]-Console warnings for non-passive scroll event handlers-Vue.js ... There is a new options object that can be passed to the addEventListener . The...
Read more >
Non-passive event listener warning in Chrome console - v6
I am using React with a custom component to mount/unmount CodeMirror to the page. I don't think that would be the issue, but...
Read more >
scrollbar Non Passive Event Listener Error
I getting warning like this on my chrome console..as. [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event.
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