Skip to content

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

Closed
bensperry opened this issue Feb 26, 2014 · 5 comments
Closed

Shrink text for inputs #682

bensperry opened this issue Feb 26, 2014 · 5 comments
Assignees
Milestone

Comments

@bensperry
Copy link
Contributor

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:

image

@bensperry bensperry added this to the 1.0 milestone Feb 26, 2014
@adamdbradley adamdbradley removed this from the 1.0 milestone Mar 3, 2014
@rvanbaalen
Copy link

Awesome idea. But do keep the values vertically centered while shrinking. See issue #799

@ajoslin
Copy link
Contributor

ajoslin commented Apr 29, 2014

Additionally, use a fake placeholder element to be consistent on all platforms.

@jayproulx
Copy link

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.

@perrygovier
Copy link
Contributor

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:
https://trello.com/c/xvjAYWDa/31-shrink-text-for-inputs

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 6, 2018

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants