Skip to content

bug: <md-select>: line spacing of the select element and distance/hight of its floating placehoder incorrect #2508

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

Closed
chrisi opened this issue Jan 3, 2017 · 4 comments
Assignees

Comments

@chrisi
Copy link

chrisi commented Jan 3, 2017

What is the expected behavior?

http://plnkr.co/edit/0tnEStOBvtVodFQFVX3c?p=preview (2nd card)

What is the current behavior?

http://plnkr.co/edit/0tnEStOBvtVodFQFVX3c?p=preview (1st card)

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

OS: Windows, Mac
Chrome 55.0.2883.87 m
Angular 2.3.1
Material 2.0.0-beta.1
Typescript 2.0.10

Is there anything else we should know?

this seems to fix the distance of the paceholder:

.md-select-placeholder.md-floating-placeholder {
    top: -20px; /* was -22px */
    left: -2px;
    transform: scale(.75);
}

line spacing can be corrected with:

style="margin: 10px 0 10px 0;"
@chrisi chrisi changed the title md-select: line spacing of the select element and distance/hight of its floating placehoder incorrect bug: <md-select>: line spacing of the select element and distance/hight of its floating placehoder incorrect Jan 3, 2017
@chrisi
Copy link
Author

chrisi commented Jan 4, 2017

additional stylesheet issues with md-select:

-distance between text and baseline also differs from standard md-input.
-onEnter / onBlur doesn't fade like other md-inputs
-unlike md-inputs baseline width of focused md-selects is only 1px

@chrisi
Copy link
Author

chrisi commented Jan 4, 2017

is partially duplicated with #2465

@jelbourn
Copy link
Member

jelbourn commented Jun 6, 2017

Tracking via #2124

@jelbourn jelbourn closed this as completed Jun 6, 2017
@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 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants