Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago

[Violation] Added non-passive event listener to a scroll-blocking <some> event.

Since some days I experience the following warning in Chrome:

 

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

 

The bound events are: mousewheel, touchstart, touchmove and wheel.

As hint this link is given: https://www.chromestatus.com/feature/5745543795965952

 

Are there any plans to solve this issue?

 

2 Replies

  • v-micsh-msft's avatar
    v-micsh-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi,

     

    Could you please explain a bit for doing what operations under Power BI Embeded (report, or dashboard?) when the warning popped out?

     

    Regards,

    Michael

    • Anonymous's avatar
      Anonymous
      Not applicable

      Michael,

       

      we are embedded the report in our Angular web application using the powerbi-client lib.

       

      "powerbi-client": "^2.4.2"

      Which got resolved to:

       

          "powerbi-client": {
            "version": "2.4.7",
            "resolved": "https://npm.***.com/npm/npm/powerbi-client/-/powerbi-client-2.4.7.tgz",
            "integrity": "sha1-GRN66+lT5/ux00IGvXVMASezpa0=",
            "requires": {
              "http-post-message": "0.2.3",
              "powerbi-models": "1.0.2",
              "powerbi-router": "0.1.5",
              "window-post-message-proxy": "0.2.5"
            }
          },
          "powerbi-models": {
            "version": "1.0.2",
            "resolved": "https://npm.***.com/npm/npm/powerbi-models/-/powerbi-models-1.0.2.tgz",
            "integrity": "sha1-3khwXuj/WG5UuRHD5i8sPSuLWx0="
          },
          "powerbi-router": {
            "version": "0.1.5",
            "resolved": "https://npm.***.com/npm/npm/powerbi-router/-/powerbi-router-0.1.5.tgz",
            "integrity": "sha1-3S0tBHT4y3ZpCoX2pR2Mqf6pOjI=",
            "requires": {
              "es6-promise": "3.3.1",
              "route-recognizer": "0.1.11"
            }
          },

       

      The warning occurs when loading the report. Even before interaction with it there are plenty of them in the console.