Skip to content Skip to sidebar Skip to footer

Md-virtual-repeater Using Body As Container

I am planning to use Angular Material's virtual repeat to achieve a Facebook like functionality where posts infinitely scroll. Is it possible to have the virtual repeat container o

Solution 1:

After some fiddling around, I've found the answer.

The answer is actually very simple, if you're using Angular Material, stick to Angular Material.

I've used all the layouts (i.e. container, nav, sidenav), I've found that Angular Material does not use the browser's body to scroll anyway. All content is contained in their container element. Simply put a md-virtual-repeat-viewport on there and you are good to go!

Post a Comment for "Md-virtual-repeater Using Body As Container"