Lighthouse warning : Passive listeners Similar case #124
See original GitHub issueExact same thing is happening to me I would like to give a reference to https://github.com/KingSora/OverlayScrollbars/issues/124
Here is the output of my OverlayScrollbars.globals()
Thank you so much
{
"defaultOptions": {
"className": "os-theme-dark",
"resize": "none",
"sizeAutoCapable": true,
"clipAlways": true,
"normalizeRTL": true,
"paddingAbsolute": false,
"autoUpdate": null,
"autoUpdateInterval": 33,
"updateOnLoad": [
"img"
],
"nativeScrollbarsOverlaid": {
"showNativeScrollbars": false,
"initialize": true
},
"overflowBehavior": {
"x": "scroll",
"y": "scroll"
},
"scrollbars": {
"visibility": "auto",
"autoHide": "never",
"autoHideDelay": 800,
"dragScrolling": true,
"clickScrolling": false,
"touchSupport": true,
"snapHandle": false
},
"textarea": {
"dynWidth": false,
"dynHeight": false,
"inheritedAttrs": [
"style",
"class"
]
},
"callbacks": {
"onInitialized": null,
"onInitializationWithdrawn": null,
"onDestroyed": null,
"onScrollStart": null,
"onScroll": null,
"onScrollStop": null,
"onOverflowChanged": null,
"onOverflowAmountChanged": null,
"onDirectionChanged": null,
"onContentSizeChanged": null,
"onHostSizeChanged": null,
"onUpdated": null
}
},
"autoUpdateLoop": false,
"autoUpdateRecommended": false,
"nativeScrollbarSize": {
"x": 17,
"y": 17
},
"nativeScrollbarIsOverlaid": {
"x": false,
"y": false
},
"nativeScrollbarStyling": true,
"overlayScrollbarDummySize": {
"x": 30,
"y": 30
},
"cssCalc": "calc",
"restrictedMeasuring": false,
"rtlScrollBehavior": {
"i": true,
"n": false
},
"supportTransform": true,
"supportTransition": true,
"supportPassiveEvents": true,
"supportResizeObserver": true,
"supportMutationObserver": true
}
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Use passive listeners to improve scrolling performance
# How the Lighthouse passive event listener audit fails · Collect all event listeners on the page. · Filter out non-touch and non-wheel...
Read more >javascript - Does not use passive listeners to improve scrolling ...
A recent Lighthouse Report flagged the following issue. Consider marking your touch and wheel event listeners as passive to improve your page's ...
Read more >Lighthouse Report - Vector.dev
This may enhance the experience for users of assistive technology, like a screen ... These items address areas which an automated testing tool...
Read more >TBr - River Thames Conditions - Environment Agency - GOV.UK
Riatest array length, Minimum energy to kill a deer, Emma marrone schiena cover. Pieternel regilio tuur, Amusement park accident disaster, Roulettes cinema, ...
Read more >Lighthouse Report - Tampa Bay Times
This may enhance the experience for users of assistive technology, like a screen ... 1 Does not use passive listeners to improve scrolling...
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
@stephenjason89 do you have a codeexample for that? Right now its quite hard for me to imagine the issue…
@stephenjason89 Thank you very much! I’ve already fixed this issue in my local branch and it will be definitely released soon.
Currently I’m not able to add tests to ensure this will always work, but this is something which will definitely be in version
2.0.0
because there I’m using puppeteer for e2e tests.