Skip to content

md-select placeholder overlaps with md-toolbar #2168

Closed

Description

@belev

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.

Activity

  1. changed the title [-]md-select placeholder overlaps with toolbar[/-] [+]md-select placeholder overlaps with md-toolbar[/+] on Dec 11, 2016
  2. savatware commented on Dec 11, 2016

    @savatware

    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.

  3. kara commented on Dec 12, 2016

    @kara
    Contributor

    Yeah, related to #2124 and #2127

  4. self-assigned this
    on Dec 12, 2016
  5. SalmaKolkari commented on Feb 2, 2017

    @SalmaKolkari

    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.

  6. added a commit that references this issue on Mar 13, 2017
  7. jelbourn commented on Jun 6, 2017

    @jelbourn
    Contributor

    Tracking via #2124

  8. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    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.

  9. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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