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

Input placeholder is not hiding if parent's visibility:hidden; #670

Closed
davidgabrichidze opened this issue Jun 11, 2016 · 1 comment · Fixed by #680
Closed

Input placeholder is not hiding if parent's visibility:hidden; #670

davidgabrichidze opened this issue Jun 11, 2016 · 1 comment · Fixed by #680

Comments

@davidgabrichidze
Copy link
Contributor

Bug, feature request, or proposal:

BUG

What is the expected behavior?

Children content should be invisible, when parent's visibility:none

What is the current behavior?

.md-input-placeholder.md-empty class overrides parents visibility.

What are the steps to reproduce?

set visibility: hidden to parent div, containing input with placeholder.

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd

What is the use-case or motivation for changing an existing behavior?

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

angular rc1, material2 alpha.5

Is there anything else we should know?

Can submit fix PR, If BUG is accepted

@robertmesserle robertmesserle self-assigned this Jun 13, 2016
jelbourn pushed a commit that referenced this issue Jun 20, 2016
Previously, adding `visibility: hidden` to a parent element would not hide the placeholder text for inputs.

Closes #670
@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

Successfully merging a pull request may close this issue.

2 participants