Textarea not displaying accurate placeholder font on Android
See original GitHub issueI 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
Desktop
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (10 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
Thanks guys, loving the framework!