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

placeholder overlaps text #2

Open
javalnanda opened this issue Dec 6, 2015 · 1 comment
Open

placeholder overlaps text #2

javalnanda opened this issue Dec 6, 2015 · 1 comment

Comments

@javalnanda
Copy link

When using inside tableview cell. The placeholder overlaps on top of text entered when we scroll tableview. Also, keyboard does not resign and stays open.

I am using custom cell and added textfield via storyboard change its class to EGFloatingTextField

screen shot 2015-12-06 at 7 13 57 pm

@zuo305
Copy link

zuo305 commented Dec 17, 2015

try: textField?.floatLabelToTop()
And it's strange,if i put this code in viewillappear.

Another way is better is when set textField.text you can hide the placeholder, after change the text to empty, set placeholder show again.
And if you want to do this ,you need change the source code.

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

No branches or pull requests

2 participants