Skip to content

bug(mdInput): floating label slighty move down when others mdInputs are focused #3261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ovalol opened this issue Feb 23, 2017 · 1 comment · Fixed by #3343
Closed

bug(mdInput): floating label slighty move down when others mdInputs are focused #3261

ovalol opened this issue Feb 23, 2017 · 1 comment · Fixed by #3343
Assignees
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@ovalol
Copy link

ovalol commented Feb 23, 2017

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When focusing mdInput, others mdInput's floating label slightly move.

What is the current behavior?

When focusing mdInput, others mdInput's floating label should not move.

What are the steps to reproduce?

Plunker

Click on an input like you want to change his value and look at others floating labels.

Which versions of Angular, Material, OS, browsers are affected?

@angular/material: 2.0.0-beta.2
chrome: Version 56.0.2924.87 (64-bit)

Is there anything else we should know?

Happen only on chrome.
This issue came from the transform: scale() on the .mat-input-ripple.
My workaround for the moment is to add to my global style :

md-input-container /deep/ .mat-input-underline .mat-input-ripple.mat-focused {
  transform: none;
}
md-input-container /deep/ .mat-input-underline .mat-input-ripple {
  transform: none;
}
@mmalerba mmalerba self-assigned this Feb 24, 2017
@mmalerba mmalerba added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label Feb 24, 2017
@kara kara closed this as completed in #3343 Mar 1, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants