Reputation: 83636
When switching focus between text fields, the iOS Safari 13 gives an unwanted disappearance of text animation.
This happens on iPhone and iPhone simulator
Desktop Safari seems to be good
iOS 13
Input field has a text placeholder
Angular Material UI <mat-form-field>
is used
The problem is demonstrated in the GIF animation below
Upvotes: 1
Views: 782
Reputation: 83636
There is a transition animation on mat-form-field-outline
that plays badly on iPhone. I guess this is because the keyboard pops up and that somehow makes the transition play differently than on other web browsers.
The solution is to disable the transition animation:
::ng-deep .mat-form-field-outline {
transition: none !important;
}
See also: Problem mat-form-field outline background-color on hover
Upvotes: 1