Skip to content

Prefixed Form-Field-Outline-Label-Gap not positioned correctly in Mat-Dialog in 7.0.1 #13769

Closed
@OlufemiOyewole

Description

@OlufemiOyewole

Bug:

Form-Field-Outline-Label-Gap does not reposition correctly when it is opened in a dialog and the Form-Field has a prefix
screenshot 2018-10-23 at 11 30 50 am

What is the expected behavior?

The Form-Field-Outline-Label-Gap should be positioned correctly with or without a prefix.

What is the current behavior?

The Form-Field-Outline-Label-Gap does not reposition itself away from the form field prefix like the label does when it is opened in a dialog.

What are the steps to reproduce?

https://stackblitz.com/edit/form-field-outline-label-gap-position-error-in-dialog-701

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

(not applicable)

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

Angular 7.0.0
Angular Material 7.0.1
Chrome 69, Safari 12.0

Is there anything else we should know?

This seems related to #12782

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions