Is it possible to put componentRefs created via a factory into a virtual scroll list? Or some similar method.
this.searchResults.forEach(item => {
const componentFactory = this.componentFactoryResolver.resolveComponentFactory(item.component);
const componentRef = viewContainerRef.createComponent(componentFactory);
(<ListInterface>componentRef.instance).data = item.data;
});
They just append to the element with the directive on currently.