I would like to use virtual scrolling with flexlayout - e. g. the following code should work with virtual scrolling:
<div fxLayout="row wrap" fxLayoutAlign="start center"> <div *ngFor="let size of fixedSizeData; let i = index" [style.height. px]="size"> <div style="border: 1px dashed; padding: 6px;" [style.height.px]="size - 20"> Item #{{i}} - ({{size}}px) </div> </div> </div> I made a little demo: https://stackblitz.com/edit/angular-tikbvh which shows the result (without virtualscroll) and an attempt to do the same with cdk-virtual-scroll-viewport. Can anybody give me a hint how to do this??? FYI, I asked this question already on stackoverflow...(https://stackoverflow.com/questions/53879757/cdk-virtual-scroll-viewport-usage-with-angular-flex-layout-row-and-wrap) -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.