From 70c349c23f0d886d167968b33c1defe84510c877 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Thu, 12 Oct 2017 07:21:19 +0200 Subject: [PATCH] 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. --- src/lib/select/select.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/select/select.ts b/src/lib/select/select.ts index b0a5c8729ba3..88008d035466 100644 --- a/src/lib/select/select.ts +++ b/src/lib/select/select.ts @@ -652,7 +652,6 @@ export class MatSelect extends _MatSelectMixinBase implements AfterContentInit, */ _onFadeInDone(): void { this._panelDoneAnimating = this.panelOpen; - this.panel.nativeElement.focus(); this._changeDetectorRef.markForCheck(); }