Skip to content

matPrefix element not aligned properly in form field with appearance fill and outline #12803

@NehalDamania

Description

@NehalDamania

Bug, feature request, or proposal:

Bug

What is the expected behavior?

matPrefix Element should be aligned properly with matLabel in MatFormField with appearance set as "Fill" and "Outline"

What is the current behavior?

Not as expected

What are the steps to reproduce?

https://stackblitz.com/edit/angular-xfexy1

image

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

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

6

Is there anything else we should know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    GThis is is related to a Google internal issueP2The issue is important to a large percentage of users, with a workaroundarea: material/form-fieldmaterial specIssue related to the Material Design spec https://material.io/design/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions