[TextField] vertical height incorrect (visually comparing to spec)
See original GitHub issueProblem description
Current normal
vertical spacing is incorrect.
This is especially apparent when vertically oriented with helper texts present.
Example:
Versions
- Material-UI: v1-alpha
- Browser: Chrome
Images & references
Some of this was discussed in #7109, and closed in lieu of #7113, but it seems we still have a bit to go to get this both spec compliant for normal
vertical spacing as well as adding the dense
implementation.
/cc @kybarg @MichaelMure
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
[TextField] vertical height incorrect (visually comparing to spec)
Problem description Current normal vertical spacing is incorrect. This is especially apparent when vertically oriented with helper texts ...
Read more >Flutter wrong position of text in textfield after changing height
According to my design I have a TextField ...
Read more >UI cheat sheet: text fields - UX Collective
Comparison of horizontally and vertically aligned forms. Material Design's line text field (old) and filled text field (new) ; Filled text field ......
Read more >Deep dive CSS: font metrics, line-height and vertical-align
Explores line-height and vertical-align properties, as well as the font metrics. Understand how text is rendered on screen, and how to control it...
Read more >A Sliding Nightmare: Understanding the Range Input
Using other units, the actual range input expands or shrinks vertically such that the track perfectly fits inside. The computed value we get...
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 Free
Top 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
Hello! Designer coming in late here, but it looks like the total height of the field should be 80 px. It’s a bit hard to find, but Google specs that out on the errors page: https://material.io/guidelines/patterns/errors.html#errors-user-input-errors
The height shouldn’t grow or shrink (causing a bounce) based on whether or not you have helper or error text. It should be a fixed 80 px high.
Dense split to #7358