A parent component that contains a @ViewChildren is not returning results for components that are created dynamically.
The container component contains a highl
That doesn't work because @ViewChildren
only queries its own view, not the view contained within child components. Your dynamic component is a child component that has its own view.
To get around this you could add a @ViewChildren
query in the dynamic component that has an output event to let anyone who cares (your parent component) know that a new instance exists.