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 warning : Passive listeners Similar case #124

See original GitHub issue

Exact 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
}

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
KingSoracommented, Sep 11, 2020

@stephenjason89 do you have a codeexample for that? Right now its quite hard for me to imagine the issue…

1reaction
KingSoracommented, Sep 9, 2020

@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.

Read more comments on GitHub >

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

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