Strange Warning message

Hello,

Each time when I create a syncfusion control , I have in Chrome console the following warning :

Eg:  For $("#splitter").ejSplitter({....}) , I have :

 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952


I'm using Angular JS v1.5.0, and last version of jQuery.

Do you know what can be the cause for this ?

Thanks,



1 Reply

AP Arun Palaniyandi Syncfusion Team January 22, 2018 01:55 PM UTC

Hi Iulian Astalus, 
 
Thanks for contacting Syncfusion support. 
 
This waring is due to a bleeding edge feature called Passive Event Listeners that has been implemented in browsers fairly Passive event listeners are a new feature in the DOM spec that enable developers to opt-in to better scroll performance by eliminating the need for scrolling to block on touch and wheel event listeners. Developers can annotate touch and wheel listeners with {passive: true} to indicate that they will never invoke preventDefault. This feature shipped in Chrome 51, Firefox 49 and most of the .js libraries have been implemented this support. 
 
 
Reference Links: 
 
 
 
Demo: 
 
 
We have checked this replicate this waring in Chrome and firefox browsers, but we are unable to replicate. If you still face the same issue, then could you please provide following details?  
1)      Share the Device details. i.e your browser and system configuration details  
2)      A simple replication sample if possible with the shared link.  
3 )     Whether facing this issue in the Javascript platform itself or in Angular platform? 
 
 
Regards,  
Arun P. 



Loader.
Up arrow icon