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

MatFormField with appearance="outline" draws line through the label if the form field starts out as "display: none." #14031

Closed
grant77 opened this issue Nov 7, 2018 · 4 comments
Assignees
Labels
P2 The issue is important to a large percentage of users, with a workaround

Comments

@grant77
Copy link

grant77 commented Nov 7, 2018

Bug, feature request, or proposal:

MatFormField with appearance="outline" draws line through the label if the form field starts out as "display: none." Is see Bug #12555, but I don't think it covers this scenario. I have provided a very simple stackblitz to duplicate.

What is the expected behavior?

There should not be a line going though the label.

What is the current behavior?

There is a line going though the label.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-material2-issue-ovrlab

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

It's ugly.

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

"@angular/material": "7.0.2"

Is there anything else we should know?

No.

@vivian-hu-zz vivian-hu-zz added the P2 The issue is important to a large percentage of users, with a workaround label Nov 8, 2018
@mmalerba
Copy link
Contributor

@crisbeto did your PR for this land yet?

@crisbeto
Copy link
Member

Doesn't look like it has #13477.

@mmalerba
Copy link
Contributor

closing as a dup of #13328, should be fixed by #13477

@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 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P2 The issue is important to a large percentage of users, with a workaround
Projects
None yet
Development

No branches or pull requests

4 participants