diff --git a/projects/igniteui-angular/src/lib/input-group/input-group.component.ts b/projects/igniteui-angular/src/lib/input-group/input-group.component.ts index ef2e138c91c..9f8b5895dee 100644 --- a/projects/igniteui-angular/src/lib/input-group/input-group.component.ts +++ b/projects/igniteui-angular/src/lib/input-group/input-group.component.ts @@ -442,15 +442,11 @@ export class IgxInputGroupComponent implements IgxInputGroupBase, AfterViewCheck /** @hidden @internal */ public ngAfterViewChecked() { - if (!this._theme) { - const theme = this.theme ?? this.themeService.getComponentTheme(this.element); - - if (theme) { - Promise.resolve().then(() => { - this._theme$.next(theme); - this.cdr.markForCheck(); - }); - } + const theme = this.themeService.getComponentTheme(this.element); + + if (theme) { + this._theme$.next(theme); + this.cdr.markForCheck(); } }