Skip to content

Commit

Permalink
fix(select): remove inert focus call (#7729)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
crisbeto authored and andrewseguin committed Oct 12, 2017
1 parent f52f078 commit 70c349c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/select/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,6 @@ export class MatSelect extends _MatSelectMixinBase implements AfterContentInit,
*/
_onFadeInDone(): void {
this._panelDoneAnimating = this.panelOpen;
this.panel.nativeElement.focus();
this._changeDetectorRef.markForCheck();
}

Expand Down

0 comments on commit 70c349c

Please sign in to comment.