Table component - Too many verbose browser console logs is leading to slow page load times in chrome and firefiox browser
See original GitHub issueIn our product we are using carbon table component, and when we try to load a screen containing table component, I get the below warnings as the page loads.
[Violation] Added non-passive event listener to a scroll-blocking ‘touchstart’ event. Consider marking event handler as ‘passive’ to make the page more responsive.
If the grid contains more than 50 rows, then I’m seeing more than 2K of these verbose logs being reported by chrome and page takes around 10-15 seconds to load in chrome.
In firefox, however the page becomes unresponsive and browser hangs.
This issue is mainly observed in screens using carbon angular table component. Other screens which doesnt contain table component, did not see any logs in browser console.
Below are the versions being used:
"@angular/common": "8.2.14",
"@angular/compiler": "8.2.14",
"@angular/core": "8.2.14",
"@angular/forms": "8.2.14",
"@angular/platform-browser": "8.2.14",
"@angular/platform-browser-dynamic": "8.2.14",
"carbon-components": "10.9.3",
"carbon-components-angular": "3.40.3"
Console screenshot is below:
![Screenshot 2020-02-28 at 6 31 24 PM](https://user-images.githubusercontent.com/61592711/75561469-12b4df00-5a6d-11ea-9307-19bc7a3380a1.png)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
I’ll take a look at it 👍
@cal-smith @zvonimirfras Can we get a fix for this issue available by this week? As we have a release on 11th March.