google / google/material-design-lite

Adding class="mdl-textfield__input" : Text Field disappears.

Open
#4,419 1 comment 0 reactions 0 assignees View on GitHub
pending-reproducible-sample Textfield
Dominant language
HTML
Stars
32.2k
Forks
4.9k
PR merge metrics
No merged PRs in 30d

Description

The title says it all, more or less. Everything works when when building an Text Field component step by step. As soon as I add ' class="mdl-textfield__input" ' to the input, the text field doesn't work anymore - it disappears. Tracked it down with getBoundingClientRect() and tried to apply a really high z-index... nothing works. Any ideas?

```



Email

```

Everything's ok...

```



Email

```

...and it's gone!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.