I receive the following console messages when interacting with a plot (through relayout events), like changing window with (responsive behavior).
[Violation] Added non-passive event listener to a scroll-blocking ‘wheel’ event. Consider marking event handler as ‘passive’ to make the page more responsive.
[Violation] ‘setTimeout’ handler took XXXms
I’m using https://cdn.plot.ly/plotly-latest.js as of June 16 2017.
Appreciate any comments or suggestions?
What browser are you using?
Chorme. Version 58.0.3029.110 (64-bit)., but now that I checked, it started its updating procedure . I’ll let you know in a while if the same messages occur with the updated version.
ok. Now I’m running Chrome Version 59.0.3071.104 (Official Build) (64-bit). and receive the same messages
OK. Can you share a reproducible example?
In the console, I selected level to Verbose.
Strange. I can’t replicate. Could you share a screencast of the interactions that lead to the errors?
Ah ok. I see it. I just needed to turn on that Verbose mode
I’m not sure what this is about. You can subscribe to https://github.com/plotly/plotly.js/issues/1795 for the latest development info.
Yes, this Verbose thing was also new to me. I just wanted to let you know.
I’ll subscribe to the issue .Thanks!!
I’m getting same kind of errors… I have some events on my plots and everytime i single-click in one i get 675
[Violation] Added non-passive event listener to a scroll-blocking ‘wheel’ event. Consider marking event handler as ‘passive’ to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
It also lost the double click function to recover the initial zoom.
I think it’s happening in firefox too but the firefox console is not showing. When i double click on the plot it doesnt work until it proceses all the violations.
Is there any way to get rid of this verbose messages?
Disabling verbose mode should do the trick:
Yes i know, the problem if when you have to make any operation in the plot, until the end of all the logs it wont make the operation. If you have to double click and between click and click there are 400 messages you can’t double click because the time lapse between them.
For every plot in the screen it will log something when you click in any click.