Skip to content

Commit

Permalink
improve fix
Browse files Browse the repository at this point in the history
  • Loading branch information
macjohnny authored Feb 28, 2019
1 parent e7abb96 commit df72b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/mat-select-search/mat-select-search.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ export class MatSelectSearchComponent implements OnInit, OnDestroy, AfterViewIni
}
this.searchSelectInput.nativeElement.value = '';
this.onInputChange('');
if (this.matOption) {
if (this.matOption && !focus) {
// remove no entries found class on mat option
this.matOption._getHostElement().classList.remove('mat-select-search-no-entries-found');
}
Expand Down

0 comments on commit df72b86

Please sign in to comment.