-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Shrink text for inputs #682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Awesome idea. But do keep the values vertically centered while shrinking. See issue #799 |
Additionally, use a fake placeholder element to be consistent on all platforms. |
Vertical centering shouldn't be an issue for a single line of text. make sure the line-height: value is the same for the label and the input, and just adjust the font-size:, text should stay in the middle. |
Moving feature requests from GH Issues to Trello. Please continue the discussion and vote for this and other issues that are important to you here: |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
I noticed that when I'm typing something long into an input (on iOS at least), the text will shrink to accommodate the length so I can see what I'm typing for longer. I think little things like this add a TON of value to the experience. Check the email field in the screenshot:
The text was updated successfully, but these errors were encountered: