From ae5d9e28ae2ed9b3a314e36216066eadccea0201 Mon Sep 17 00:00:00 2001 From: Esteban Marin Date: Thu, 28 Jun 2018 07:30:22 +0200 Subject: [PATCH] #38: user original class name --- src/app/mat-select-search/mat-select-search.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/mat-select-search/mat-select-search.component.ts b/src/app/mat-select-search/mat-select-search.component.ts index f827a44..1f34795 100755 --- a/src/app/mat-select-search/mat-select-search.component.ts +++ b/src/app/mat-select-search/mat-select-search.component.ts @@ -395,7 +395,7 @@ export class MatSelectSearchComponent implements OnInit, OnDestroy, AfterViewIni let element: HTMLElement = this.innerSelectSearch.nativeElement; let panelElement: HTMLElement; while (element = element.parentElement) { - if (element.classList.contains('mat-select-search-panel')) { + if (element.classList.contains('mat-select-panel')) { panelElement = element; break; }