Skip to content
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

Fix placeholder vertical positioning when text input element height changes #70

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mmajis
Copy link
Contributor

@mmajis mmajis commented Feb 24, 2015

This fixes a positioning issue with responsive layouts which change the height of single line text input boxes dynamically based on window size.

Placeholder span is now positioned vertically in the middle of the input box based on outerHeights instead of basing the positioning on the input box top padding.

Resize event wasn't firing on the document object, so bound the handler to window instead.

@9090899
Copy link

9090899 commented Apr 22, 2017

how to fix text in textbox as it is in gmail sign up page ...in the textbox @gmail.com in right side how ???

@9090899
Copy link

9090899 commented Apr 22, 2017

Can u tell me????????????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants