Skip to content

Commit bb5d22a

Browse files
committed
fix(combo): handle input focus when id is changed
1 parent 27eb1a5 commit bb5d22a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/igniteui-angular/src/lib/combo/combo.common.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ export abstract class IgxComboBaseDirective implements IgxComboBase, AfterViewCh
183183
if (this.dropdown.open) {
184184
this.dropdown.close();
185185
}
186+
if (this.inputGroup?.isFocused) {
187+
this.inputGroup.element.nativeElement.blur();
188+
this.inputGroup.isFocused = false;
189+
}
186190
}
187191

188192
/**

0 commit comments

Comments
 (0)