mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Andrew Seguin
parent
f52f078924
commit
70c349c23f
@@ -652,7 +652,6 @@ export class MatSelect extends _MatSelectMixinBase implements AfterContentInit,
|
||||
*/
|
||||
_onFadeInDone(): void {
|
||||
this._panelDoneAnimating = this.panelOpen;
|
||||
this.panel.nativeElement.focus();
|
||||
this._changeDetectorRef.markForCheck();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user