Skip to content
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
@nathanmarks

Description

@nathanmarks

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.

Metadata

Metadata

Assignees

Labels

needs: investigationThe cause of this issue is not well understood and needs to be investigated by the team or communityneeds: team discussionThis issue requires a decision from the team before moving forward.severity: inconvenientui: CSS

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions