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.

Lighthouse test: Does not use passive listeners to improve scrolling performance

See original GitHub issue

I run the Lighthouse test and get a “Does not use passive listeners to improve scrolling performance - Consider marking your touch and wheel event listeners as passive to improve your page’s scroll performance.”

I can fix this in my code, but maybe it should be fixed here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

1reaction
SanboKyocommented, May 11, 2021

@czDAWID I add at line 93

options.passive = true;

It works for me, the test is now positive, but I don’t know if that has any side effects.

0reactions
NaotoshiFujitacommented, Oct 10, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - Does not use passive listeners to improve scrolling ...
Consider marking your touch and wheel event listeners as passive to improve your page's scroll performance. How do I resolve this issue? It ......
Read more >
Use passive listeners to improve scrolling performance
Lighthouse : Use passive listeners to improve scrolling performance. Overview. Browsers like Chrome normally block page scrolling during the initial page ...
Read more >
Passive Event Listeners: Solution to ''Does not use ... - Screpy
What Does ''Does not use passive listeners to improve scrolling performance'' Mean? The message you see above is actually the warning message ......
Read more >
Lighthouse Optimizations - Use Passive Listeners to Improve ...
Use Passive Listeners to Improve Scrolling Performance ... Lighthouse flag this audit if it detects any lines where are not set with passive...
Read more >
Does not use passive listeners to improve scrolling performance
[This thread is closed.] I encountered a problem while testing the page at Lighthouse, here is the attached image (https://prnt.sc/w7t18i) It is clear…...
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