When the component's AfterViewInit was called, the host pseudo-class was correctly applied up to Angular 18. However, in Angular 19, it is no longer applied correctly. As a result, retrieving element ...