Skip to content

Text invisible when wrapped in md-input-container #30

@evovilol

Description

@evovilol

There seem to be an issue with the md-time-picker being wrapped in a md-input-container element in that the input text is made invisible because of some angular material css rules.

You can also replicate this problem on the demo codepen: https://codepen.io/mattbajorek/pen/OpGVyv by wrapping the element in a md-input-container element.

I would expect the styles of the md-input-picker to play nicely with the out-of-the-box Material Design CSS...?

Untouched time picker looks OK:
untouched input

A time has been picked, now all inputs seemingly have no text
time has been picked

One of the inputs focused, revealing parts of the picked time
time has been picked input focused

The Material Design CSS rule that renders the input text invisible
offending material design css rule

Simple sample markup to illustrate how to replicate the problem
sample markup

Metadata

Metadata

Assignees

No one assigned

    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