angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.36k stars 6.74k forks source link

MatSelect inconsistent with Material Guideline / degraded readability #17959

Open DanielHabenicht opened 4 years ago

DanielHabenicht commented 4 years ago

Reproduction

  1. Use a standard Material Select.
  2. Select an option.
  3. Open the select menu again.

Expected Behavior

image

Actual Behavior

image

It is even worse if a dark theme is applied: image

Environment

ahnpnl commented 4 years ago

There is another thing I notice which is different from guideline is look like by default the selection panel isn't overlapped the input but mat-select selection panel always overlaps by default

jelbourn commented 4 years ago

This is a remnant from the old (2014 era) Material Design spec. It will be resolved when switching to an MDC-based select component.

Baffour commented 4 years ago

@jelbourn Is the plan that angular material will essentially become a wrapper for MDC? Is there an easy way for us to view the progress on this?

jelbourn commented 4 years ago

Wrapper isn't exactly it- it's more that MDC Web is a set of primitives that are intended to be composed at the framework layer. So we take those primitives and build components that are compatible with out existing APIs, features, and (most importantly) unit tests. You can see the progress in the material-experimental directory; most of the MDC-based components are done, but a few haven't been stared yet. Select and autocomplete are going to be the last ones done since they're inherently much more complex.

Baffour commented 4 years ago

Thanks! have taken a look and can see how it differs from simply being a wrapper! Excited to see how this progresses :)