Expected Behavior
c3.js should be optimized for performance
Current Behavior
Chrome throws warning
[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive.
Possible Solution
Change
addEventListener(eventType, method); to
addEventListener(eventType, method. {passive: true});
Steps to Reproduce (for bugs)
Create a chart and check the console.
Environment
c3.js version: 0.4.13
Browser name and version: Chrome 59.0.3071.115
Worth noticing that one needs to have their Chrome console set to output Verbose level to see [Violation] outputs, but yes it seems a good point of optimization.
Has there been any progress on this issue?
Most helpful comment
Worth noticing that one needs to have their Chrome console set to output Verbose level to see
[Violation]outputs, but yes it seems a good point of optimization.