Closed
Description
openedon Feb 21, 2017
When using a md-icon
as a prefix to an input inside of an md-input-container
the floating label gets misaligned when using a mdPrefix
, as you can see below:
The expected behavior is to have the text aligned with the icon and also have the floating label be at the correct position. As you can see when there is no mdPrefix
icon the text is all aligned how it should be:
To reproduce this simply add a mdPrefix
to a md-input-container
.
Before:
<md-input-container>
<input mdInput placeholder="text" type="text" name="example">
</md-input-container>
and after:
<md-input-container>
<md-icon mdPrefix>email</md-icon>
<input mdInput placeholder="text" type="text" name="example">
</md-input-container>
Right now using mdPrefix
is making the input not look good. If I am using mdPrefix wrong please let me know.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment