Skip to content

bug(md-select): Option width not set when initially hidden #3639

Closed
@macjohnny

Description

@macjohnny

Bug, feature request, or proposal:

Bug

What is the expected behavior?

The width of the options should be adjusted to the width of the md-select element, even when the md-select element is hidden while initialized and shown later.

What is the current behavior?

The width of the options is not adjusted to the width of the md-select element when the md-select element is hidden while initialized and shown later.

What are the steps to reproduce?

http://plnkr.co/edit/AGhIEB?p=preview
bildschirmfoto 2017-03-16 um 15 28 22

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

Using md-select elements in any component or element that is initially hidden.

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

Angular 2.4, Material 2.0.0-beta.2

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions