Skip to content

Commit 70c349c

Browse files
crisbetoandrewseguin
authored andcommitted
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.
1 parent f52f078 commit 70c349c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/lib/select/select.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,6 @@ export class MatSelect extends _MatSelectMixinBase implements AfterContentInit,
652652
*/
653653
_onFadeInDone(): void {
654654
this._panelDoneAnimating = this.panelOpen;
655-
this.panel.nativeElement.focus();
656655
this._changeDetectorRef.markForCheck();
657656
}
658657

0 commit comments

Comments
 (0)