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 Animation as the Text Field becomes First Responder #149

Open
Rj707 opened this issue Oct 28, 2016 · 11 comments
Open

Placeholder Animation as the Text Field becomes First Responder #149

Rj707 opened this issue Oct 28, 2016 · 11 comments

Comments

@Rj707
Copy link

Rj707 commented Oct 28, 2016

is it possible that as a user clicks on the text field(text field becomes the first responder), the placeholder animates upward. there is no need for the user to write text in the text field and then the placeholder animates upward.

@jverdi
Copy link
Owner

jverdi commented Nov 6, 2016

Seems like you should be able to override the becomeFirstResponder and resignFirstResponder methods, and inside call showFloatingLabel or hideFloatingLabel to get the effect you want. Happy to consider a PR if you create an option for this

@Rj707
Copy link
Author

Rj707 commented Nov 8, 2016

It would be my pleasure, if I could do, as i get some free time :)

@tsenterd
Copy link

@Rj707 did you have any luck with this? let me know

@Rj707
Copy link
Author

Rj707 commented Jan 26, 2017

Actually I used another wrapper instead.

@kcenan
Copy link

kcenan commented Dec 20, 2017

Did you find any solution about this issue? I have the same problem. It will be very helpful for me.

@hardikamal
Copy link

@Rj707 Any solution to this?

@Rj707
Copy link
Author

Rj707 commented Apr 5, 2018

no bro @hardikamal, Actually I used another wrapper instead.

@hardikamal
Copy link

@Rj707 Can you share that wrapper plz?

@Rj707
Copy link
Author

Rj707 commented Apr 6, 2018

@hardikamal ACFloatingTextField

@pabitranjan13
Copy link

pabitranjan13 commented Mar 30, 2020

I need of this feature for both FloatLabledTextfield and FloatLabledTextView. can you enhance this?

@gurpreetKobe
Copy link

Please update this in the library @jverdi

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

No branches or pull requests

7 participants