How to make cdk virtual scroll itemSize auto or change by condition


enter image description here

I have this piece of code in .html file that just loops through formArray controls and displays a component. The length of formArray is by default one, and can increase or decrease over time. I want the item size to be changeable or auto. Please help me to find a way to do that.

Source: Angular Material Quesions


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us