fix(select): remove inert focus call (#7729)

Removes an attempt to focus the select panel after the animation is done. This doesn't do anything, because the panel isn't focusable, however it'll start throwing in an upcoming Angular release.
This commit is contained in:
Kristiyan Kostadinov
2017-10-12 07:21:19 +02:00
committed by Andrew Seguin
parent f52f078924
commit 70c349c23f
-1
View File
@@ -652,7 +652,6 @@ export class MatSelect extends _MatSelectMixinBase implements AfterContentInit,
*/
_onFadeInDone(): void {
this._panelDoneAnimating = this.panelOpen;
this.panel.nativeElement.focus();
this._changeDetectorRef.markForCheck();
}