core icon indicating copy to clipboard operation
core copied to clipboard

Fix passive event listener warning in Chrome

Open LukeSheard opened this issue 7 years ago • 2 comments

In Chrome Hypergrid generates a lot of non-passive event listener warnings from the scroll events which can be added to Hypergrid from

container.addEventListener('wheel', this._bound.onwheel);

in index.js. I haven't been able to locate the corresponding code in the repo, so I'm not sure if this has already been patched though. Adding { passive: true } as a last argument will squash this warning.

See https://www.chromestatus.com/feature/5745543795965952 for context.

LukeSheard avatar Jan 05 '18 14:01 LukeSheard

@LukeSheard Thanks for bringing this to our attention. Will address for one of the forthcoming versions 2.1.0 & 3.0.0, both expected to be released this month.

joneit avatar Jan 08 '18 12:01 joneit

Has this been addressed? I'm not able to see anything about it in the changelist

G-S-Paris avatar Jan 16 '19 18:01 G-S-Paris