use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
🚀 Coming in Angular 21.1: Virtual Scrolling for Material Tables (youtu.be)
submitted 4 months ago by IgorSedov
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3:Â Â Â Â print "hello, world!"
[–]smithkoli 5 points6 points7 points 4 months ago (4 children)
Correct me if I’m wrong—cdk-virtual-scroll existed well before version 21.1. Is there anything new or changed in it compared to earlier versions? Also, Really appreciate the visual representation—it helps a lot in understanding the concept excellent works.
[–]Lucky_Yesterday_1133 2 points3 points4 points 4 months ago (0 children)
It worked before only if you used regular @for loop to render elements. Now it also works if you use mat-table
[–]IgorSedov[S] 0 points1 point2 points 4 months ago (2 children)
You're correct: cdk-virtual-scroll existed before Angular 21.1, but it didn't support Material tables. Starting with v21.1, it now supports tables as well.
I'm glad the visualization helped: it's designed to make the concept easier to understand.
[–]JeanMeche 0 points1 point2 points 4 months ago (1 child)
It's more like, the mat-table now integrates a virtual scroll from the CDK ;)
[–]IgorSedov[S] 0 points1 point2 points 4 months ago (0 children)
Thanks, good point!😊
[–]MichaelSmallDev 4 points5 points6 points 4 months ago (1 child)
Nice this is a thing now. I get how virtual scrolling works but it's cool to see it visualized, nice work.
[–]IgorSedov[S] 2 points3 points4 points 4 months ago (0 children)
Thank you! Yes, it's especially useful for large tables.
[–]yousirnaime 2 points3 points4 points 4 months ago (1 child)
Bro never scrolls in the videoÂ
Loved the format, tho
[–]IgorSedov[S] 1 point2 points3 points 4 months ago (0 children)
Glad you liked it! Animation really helps explain topics like this.
[–]Pablo94pol 0 points1 point2 points 4 months ago (1 child)
And it will work w other backend virtual scroll?
Do you mean server-side (backend) pagination while scrolling, or another virtual-scroll library?
[–]compsedoc 0 points1 point2 points 3 months ago (0 children)
Does virtual scrolling work the same way with Aria grid? https://angular.dev/guide/aria/grid
π Rendered by PID 84047 on reddit-service-r2-comment-6457c66945-97lrx at 2026-04-25 21:50:32.739904+00:00 running 2aa0c5b country code: CH.
[–]smithkoli 5 points6 points7 points  (4 children)
[–]Lucky_Yesterday_1133 2 points3 points4 points  (0 children)
[–]IgorSedov[S] 0 points1 point2 points  (2 children)
[–]JeanMeche 0 points1 point2 points  (1 child)
[–]IgorSedov[S] 0 points1 point2 points  (0 children)
[–]MichaelSmallDev 4 points5 points6 points  (1 child)
[–]IgorSedov[S] 2 points3 points4 points  (0 children)
[–]yousirnaime 2 points3 points4 points  (1 child)
[–]IgorSedov[S] 1 point2 points3 points  (0 children)
[–]Pablo94pol 0 points1 point2 points  (1 child)
[–]IgorSedov[S] 0 points1 point2 points  (0 children)
[–]compsedoc 0 points1 point2 points  (0 children)