question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Textarea not displaying accurate placeholder font on Android

See original GitHub issue

I have a textarea with the following markup:

<div class="mdc-textfield mdc-textfield--fullwidth mdc-textfield--upgraded">
      <input class="mdc-textfield__input" name="title" id="title" type="text" aria-label="Title" placeholder="Title">
    </div>

<div class="mdc-textfield mdc-textfield--multiline mdc-textfield--fullwidth mdc-textfield--upgraded" id="descriptionContainer">
      <textarea class="mdc-textfield__input" id="description" name="description" rows="8" cols="40" aria-label="Description" placeholder="Description"></textarea>
    </div>

It looks right everywhere but for some reason is a little off on Android. I can’t figure it out as I’ve looked at the markup / css about 30x now. The fact it works right on Desktop Chrome and iOS is the most baffling. Bug?

Android

browser-chrometabbedactivity-07042017162649

Desktop

screen shot 2017-07-04 at 4 25 45 pm

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
amsheehancommented, Jul 10, 2017

@cgfarmer4 Yes, that would be one of the preferred ways to use it in a CSS only context. That said, it should “just work”, so when @touficbatache’s PR gets merged the issue should be moot.

0reactions
cgfarmer4commented, Jul 10, 2017

Thanks guys, loving the framework!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Textarea placeholder text not displayed - Stack Overflow
First thing you have to check is : just double-check that your DOCTYPE is correct for HTML5. And the second thing in my...
Read more >
placeholder - CSS: Cascading Style Sheets - MDN Web Docs
The ::placeholder CSS pseudo-element represents the placeholder text in an or element.
Read more >
::placeholder | CSS-Tricks - CSS-Tricks
The ::placeholder pseudo-element wraps the actual placeholder text. Element or class? This functionality is not standardized. That means that ...
Read more >
Don't Use The Placeholder Attribute - Smashing Magazine
Placeholder help content is limited to just a string of static text, and that may not always be sufficient to communicate the message....
Read more >
Entry - .NET MAUI - Microsoft Learn
Placeholder , of type string , defines the text that's displayed when the ... The following screenshot shows the resulting Entry on Android:....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found