Skip to content
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

md-select placeholder overlaps with md-toolbar #2168

Closed
belev opened this issue Dec 11, 2016 · 5 comments
Closed

md-select placeholder overlaps with md-toolbar #2168

belev opened this issue Dec 11, 2016 · 5 comments
Assignees

Comments

@belev
Copy link
Contributor

belev commented Dec 11, 2016

Bug, feature request, or proposal:

Bug

What is the expected behavior?

md-select placeholder not to overlap with md-toolbar

What is the current behavior?

md-select placeholder overlaps with md-toolbar

What are the steps to reproduce?

Click to select item, the placeholder overlaps. After selecting an item the placeholder is not visible too.

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/uJR8DXST8lTBOptjgkN4?p=preview

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

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

Material 2.0.0-alpha.11-2 (tested on master too), Chrome 55

Is there anything else we should know?

Not sure if that's actually a bug or the user should handle the margin/padding after the toolbar.

@belev belev changed the title md-select placeholder overlaps with toolbar md-select placeholder overlaps with md-toolbar Dec 11, 2016
@villaratio
Copy link

I noticed that the positioning and transform of the md-input placeholder is different compared to the md-select placeholder. This is probably related to this issue.

@kara
Copy link
Contributor

kara commented Dec 12, 2016

Yeah, related to #2124 and #2127

@kara kara self-assigned this Dec 12, 2016
@SalmaKolkari
Copy link

margin: 1em 0;
padding-bottom: 6px;

these css properties are missing in select.css file.

Please add :

md-select {
display: inline-block;
outline: 0;
margin: 1em 0;
padding-bottom: 6px;
}

in select.css file

and add same css properties in

styles: ["md-select{display:inline-block;outline:0;margin: 1em 0;padding-bottom: 6px;}

in

Component({selector: 'md-select, mat-select',

in

select.js file in select folder of @angular/material directory.

@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

5 participants