Hi Sander,

thanks for answering. But I can not imagine how this can solve my 
problem...  I would also like to use the responsive features of flexlayout 
and so on...

BTW, I am curious but what is the benefit of material virtual scrolling 
capabilities when none of the material components can be used with it 
(table, list, flexlayout etc.)

Regards,

Martin

Am Dienstag, 1. Januar 2019 17:02:35 UTC+1 schrieb Martin Kuhn:
>
> 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.

Reply via email to