I would like to scroll programmatically to the end of a the cdk-virtual-scroll-viewports after adding new elements.
I am trying to use the method:
this.viewport.scrollToIndex(...);
but it does not seem to work as expected: https://stackblitz.com/edit/angular7-virtual-scroll-oqrbjv
What am I doing wrong? I don't really want a virtual scrolling anyways, so do I need the cdk-virtual-scroll-viewport or is there an alternative?