components icon indicating copy to clipboard operation
components copied to clipboard

baseline for label doesn't match placeholder (on 2 of 3 appearances)

Open hblieb opened this issue 8 years ago • 3 comments

Bug, feature request, or proposal:

BUG

What is the expected behavior?

baseline for a label should match baseline for placeholder

What is the current behavior?

baseline for a label is higher than baseline for a placeholder when appearance is outline or fill. Looks good when baseline is standard.

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

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

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

Side-by-side text fields should look consistent

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

Is there anything else we should know?

hblieb avatar Jul 03 '18 20:07 hblieb

This is because the text is aligned with the inputted value rather than the label (try typing in the field and see). The baseline of the label and the inputted text are not the same, as the spec shows, but the spec also gives no guidance that I can find on how to deal with this alignment issue. I'll mark this as blocked pending discussion with the Material Design team

mmalerba avatar May 27 '20 05:05 mmalerba

Closing since this is referring to the legacy version of the component that has been removed.

crisbeto avatar May 20 '24 09:05 crisbeto

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.