-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Description
Bug, feature request, or proposal:
Textarea with matTextareaAutozize directive gets the focus on initialization.
What is the expected behavior?
It should not get focus if it is not explicitly focused.
What is the current behavior?
It is now focused during initialization. This for example breaks the ng-touched/ng-untouched classes and therefore validation behavior.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-r4nqhk?file=app/input-overview-example.html
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.0.2
Angular Material 6.1.0
Is there anything else we should know?
Only reproducible on Safari (both desktop/mobile), Edge, IE11
andrew-cunliffe and webUIdevelopment
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent