Apply Virtual Scrolling to large lists with the Angular CDK

Share this video with your friends

Send Tweet

Browsers become faster every day, but still, DOM updates are costly. If we have large lists, the browser needs to render them upfront, creating hundreds if not thousands of DOM nodes, even though the user might not even scroll that far in the list. Not only does this slow down the scrolling itself, but even the page load of our app. To optimize this experience, we can use virtual scrolling, in particular, in this lesson we’re using Angular’s CDK to implement that.

~ a year ago

Hi, I need help implementing a cdk horizontal virtual scroll having more than one row. orientation="horizontal" working for a single row having multiple values. I am trying to implement the same with more rows but not happening.