Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
iGx Grid Very slow scrolling
posted

I am getting tons of strange warnings from zone.js ever since I added Infragistics to my application, I feel as if I may be missing a java script library or something. A lot of the controls are providing pretty poor performance that seems to be linked to the warnings in my browser.

I get tons of these errors not just when scrolling, but when clicking on components. For example, expanding an expansion panel or clicking an igx-checkbox. 

WARINGS FROM BROWSER (Chrome):

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Handling of 'wheel' input event was delayed for 358 ms due to main thread being busy. Consider marking event handler as 'passive' to make the page more responsive.

[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Any ideas as to why this may be happening? When I try to set the event listeners to passive: true, then igx throws tons of errors. Should I be loading any extra js libraries? 

Parents
No Data
Reply
  • 275
    Offline posted

    Hello Andy,

    In general this is not an expected behavior. These 360ms sound like a lot for an event like the 'wheel' and there must be something that is causing this delay. Also you shouldn't need any additional libraries, the igniteui-angular should be enough on its own to load any of the Infragistics controls.

    Do you have an example that you can share with us where this can be observed, because without seeing what is causing this , it would be quite hard to determine why this is happening.

    Regards,
    Svetoslav

Children
No Data