material-design-lite icon indicating copy to clipboard operation
material-design-lite copied to clipboard

Label overlaps with placeholder on focus out with empty value

Open rcabanero opened this issue 7 years ago • 1 comments

What MDL Version are you using? (please be specific, e.g. major.minor.patch)

  • v0.39.3

What browser(s) is this bug affecting (including version)?

  • chrome 69.0.3497.81

What OS (and version) are you using?

  • macOS High Sierra 10.13.6

What are the steps to reproduce the bug? Can you create a plunker/codepen/jsfiddle which reproduces it?

  • Navigate to the demo page of mdc-textfield (https://material-components.github.io/material-components-web-catalog/#/component/text-field)
  • Inspect the element and add a placeholder attribute to the textfield on the demo with any value on it
  • Select or try to focus on the demo and then focus out
  • You'll see that the label overlaps with the placeholder

What is the expected behavior?

  • I believe the label shouldn't animate when there's a placeholder just like when it has a value

What is the actual behavior?

  • The label is overlapping the placeholder text

Any other information you believe would be useful? Here's a screenshot on how it looks on the Demo site screen shot 2018-09-19 at 8 52 07 am

rcabanero avatar Sep 19 '18 13:09 rcabanero

This issue should be filed on the MCW repo. MDL evolved into MCW and now another team is maintaining that independently. It no longer has any relation to this repo's issue tracker for discussing and solving problems.

Thank you.

Garbee avatar Sep 19 '18 14:09 Garbee