visjs-community / visjs-network

the network module from vis.js
Apache License 2.0
60 stars 21 forks source link

[Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. #72

Open micahstubbs opened 5 years ago

micahstubbs commented 5 years ago

Canvas.js:278 [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

split from #21 and PR #71

steps to reproduce

yarn examples

visit http://localhost:8080/examples/other/clusteringByZoom/

Screen Shot 2019-07-18 at 12 33 04 AM

Tyler-Maclachlan commented 5 years ago

Which version of chrome are you using as I can't seem to reproduce this issue

micahstubbs commented 5 years ago

good question am using Chrome Version 75.0.3770.100 (Official Build) (64-bit)

Tyler-Maclachlan commented 5 years ago

I'm using Version 75.0.3770.142 (Official Build) (64-bit) on fedora linux and I don't seem to be getting this violation

micahstubbs commented 5 years ago

huh, interesting. I'll update Chrome soon and see if this warning persists.

geertdaelemans commented 3 years ago

Hi, Any solutions to this problem yet? I use chrome version 90.0.4430.212 (Official Build) (64-bit)

masc-it commented 3 years ago

up, chrome version 93