Topic: Violation (Non passive event listener.)

Tech Labx free asked 7 years ago


Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 Getting this error in the chrome console. Please any help and fix for this error? More research i did on this problem indicated it increase scrolling and general UI stuff dramatically and there's a video that proves this. Please fix. Thanks

kernellpanic free answered 3 years ago


I'm also getting this warning... When using a declared sidenav the warning wont show. But when creating a sidenav instance with JS it appears.


Marcin Luczak staff commented 3 years ago

Hi, Could you please create a snippet reproducing this issue?


fahmijafar free answered 4 years ago


Screenshot of the page and the error message using Inspect Element I also found same issue (can be seen using Inspect Element in Opera/Chrome), when using mdb-select. It causing the page like hanging/halt if there is a lot of options.. Please advise


Grzegorz Bujański staff commented 4 years ago

Hi. Create please snippet here: https://mdbootstrap.com/snippets/. I will look at this.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags