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

md-input-container placeholders can disappear behind input #2434

Closed
hans-pragt opened this issue Dec 27, 2016 · 3 comments
Closed

md-input-container placeholders can disappear behind input #2434

hans-pragt opened this issue Dec 27, 2016 · 3 comments

Comments

@hans-pragt
Copy link

Bug, feature request, or proposal:

If the value of an <input> element is set through data binding, tabbing into and out of will cause the placeholder to act as if there is no input and lower itself behind the input text.

What is the expected behavior?

The placeholder works correctly regards of how the value of the input it set.

What is the current behavior?

The placeholder sits behind the text in the input.

What are the steps to reproduce?

You will see the wrong behavior here:

http://plnkr.co/edit/PHrAb1LPvmhhitdj8W4F?p=preview

After editing the text in the input, the placeholder will stay in the right spot.

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

Windows 10 / Chrome 55.0.2883.87 m

Is there anything else we should know?

I like the new plunkr template, thanks for updating it.

@devversion
Copy link
Member

This seems to be a duplicate of #2363

@hans-pragt
Copy link
Author

Yep, sorry!

@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
None yet
Projects
None yet
Development

No branches or pull requests

2 participants