-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Problems when changing orientations #16
Comments
Thanks. I will try to fix it asap :) |
#15 Placeholder overlay with set text when the text is set in Interface builder.
Hi, BTW, did you use a height constraint? |
@oleghnidets I'll try it soon. |
@oleghnidets The code didn't work, when running |
Please, try this one |
@oleghnidets Same problem... |
For me it works. |
@oleghnidets Now it's working! And one more important thing, Please wrap placeholder text with NSLocalizedString() so it will be localizable. |
@oleghnidets suggestion about the spacing problem, maybe you should make the constraints equal to the |
Thanks a lot for your help. |
@oleghnidets I'v just fixed the spacing problems (not including the leftView problem), see #17 |
Fix in 8df9d93 Release is coming soon :) |
Done in 1.3.1 |
What did you do?
Changed the device orientation to
landscape
and back toportrait
when theTweeAttributedTextField
was in focus (when the keyboard is showing-up).What happened instead?
The
TweeAttributedTextField
height is increased by x2 and the placeholder became to the middle of theTweeAttributedTextField
.What did you expect?
The
TweeAttributedTextField
should stay the same and the placeholder should re-calculate it's position and be above theTweeAttributedTextField
.Environment
The text was updated successfully, but these errors were encountered: