Non-passive event listener chrome warnings
See original GitHub issueHi,
We’re seeing some warnings appear in chrome when using this module. The warnings are viewable on https://player.vimeo.com/api/demo in chrome v80.
Can the listeners be made passive or are the non passive event listeners required?
player.js:10 [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
Kf.addEvent @ player.js:10
Kf.addEvent @ player.js:10
$f @ player.js:10
Kf.on @ player.js:10
Ct @ player.js:10
ov @ player.js:10
(anonymous) @ player.js:10
initializationHandler @ player.js:10
(anonymous) @ player.js:10
player.js:10 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
Kf.addEvent @ player.js:10
Kf.addEvent @ player.js:10
$f @ player.js:10
Kf.on @ player.js:10
(anonymous) @ player.js:10
av @ player.js:10
(anonymous) @ player.js:10
initializationHandler @ player.js:10
(anonymous) @ player.js:10
player.js:10 [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
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:6 (2 by maintainers)
Top Results From Across the Web
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 >"Added non-passive event listener" ... warning in Chrome #5534
In chrome, the following warnings are raised in the console: Added non-passive event listener to a scroll-blocking 'touchstart' event.
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 >Chrome warning about non-passive event listener for wheel ...
It's possible that making this listener passive will cause other problems with babylon's camera input management, or perhaps not be backwards ...
Read more >Warning: Added non-passive event listener to a scroll ...
Closed 4 years ago. I am getting a weird warning while opening the application in chrome.I don't know how to get rid of...
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 Free
Top 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
This issue is back with the Vimeo player:
we released a fix with explicit passive properties for the events. looks like this is resolved 🎉 please let us know if you see any issues