jaames/iro.js

Passive Event Listener

Kamephis2000 opened this issue · 1 comments

Hello,
I recently encountered a warning in the Chrome Debugger while using this script.
The warning is shown in the following screenshot:

image

Here is the mentiond link from the screenshot:
https://www.chromestatus.com/feature/5745543795965952

I am using the development version of the script in a self-hosted manner. The warning occurs on line 14 of the code, which is quite lengthy and difficult for me to interpret.

Is there a way for me to resolve this warning or will there be an update for the package in the future?

Thank you and best regards,
Frank

It's just a best-practice warning. Last time I checked, using this type of event listener was correct for this particular use-case, so it can be ignored.