-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
bug(mat-form-field): placeholder and mat-label are overlaping #13479
Labels
P4
A relatively minor issue that is not relevant to core functions
Comments
julianobrasil
changed the title
but(mat-form-field): placeholder and mat-form-field are overlaping
but(mat-form-field): placeholder and mat-label are overlaping
Oct 7, 2018
julianobrasil
changed the title
but(mat-form-field): placeholder and mat-label are overlaping
bug(mat-form-field): placeholder and mat-label are overlaping
Oct 7, 2018
crisbeto
added
has pr
P4
A relatively minor issue that is not relevant to core functions
labels
Oct 7, 2018
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Oct 7, 2018
… disabled input Prevents the users from being able to select the hidden placeholder text by double-clicking on a disabled input. Fixes angular#13479.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Nov 11, 2018
… disabled input Prevents the users from being able to select the hidden placeholder text by double-clicking on a disabled input. Fixes angular#13479.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug, feature request, or proposal:
When you double click a disabled input with both
mat-label
andplaceholder
they overlap.What is the expected behavior?
They shouldn't overlap
What is the current behavior?
When you double click a disabled input with both
mat-label
andplaceholder
they overlap.What are the steps to reproduce?
https://stackblitz.com/edit/angular-material-placeholder-problems?file=app%2Fform-field-overview-example.html
What is the use-case or motivation for changing an existing behavior?
It's pretty common that the user tries to click/double click on a disabled input to make shure that he/she is really unable to interact with it.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I tested it with Google Chrome and Material 6.4.7
Is there anything else we should know?
I also tried to use the deprecated
mat-placeholder
, but it fails to work with interpolation when it's used together withmat-label
. Otherwise it behaves as expected.The text was updated successfully, but these errors were encountered: