This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
mdInput + mdInputContainer: Floating labels "zooming" on page load #4258
Closed
Description
Having an issue where labels are zooming when the form input components are initialized.
The form is not being rendered until the object containing the model is available, so the ng-model values are available immediately.
For eg:
<md-input-container flex>
<label>Length (months)</label>
<input
type="number"
name="length"
ng-model="vm.plan.length"
>
</md-input-container>
Is resulting in the label "zooming" out to it's floating position when the component is created.
I can switch between routes in an app to watch this happening to the same view over and over again.