simontonsoftware / s-libs

A collection of libraries for any of javascript, rxjs, or angular.
MIT License
43 stars 5 forks source link

[ng-dev] `trimLeftoverStyles()` trims things added by ionic or fontawesome #34

Closed ersimont closed 3 years ago

ersimont commented 3 years ago

Maybe try this workaround instead:

this.inject(ɵDomSharedStylesHost).ngOnDestroy();
ersimont commented 3 years ago

Looks like the next version of Angular will let us address this with https://github.com/angular/angular/pull/42566. That makes me more comfortable using this hacky workaround, since it should be short lived.