• I get the following verbose error (in chrome and in edge)
    jquery.nicescroll.min.js?ver=1:76 [Violation] Added non-passive event listener to a scroll-blocking ‘mousewheel’ event. Consider marking event handler as ‘passive’ to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952

    If I change in the file jquery.nicescroll.min.js d||!1 to {d, passive=false} the verbose error does not occur. This is line 2018 in jquery.nicescroll.js reading:
    el.addEventListener(name,fn, {bubble || false });

    changed to:
    el.addEventListener(name,fn, {bubble, passive:false });

    I’m running xampp localhost PHP version 7.4.10

    Regards, Sidney

    • This topic was modified 4 years, 5 months ago by vandestouwe.
    • This topic was modified 4 years, 5 months ago by vandestouwe.
    • This topic was modified 4 years, 5 months ago by vandestouwe.
    • This topic was modified 4 years, 5 months ago by vandestouwe.
  • The topic ‘non passive event listener’ is closed to new replies.