oleghnidets / TweeTextField

Lightweight set of text fields with nice animation and functionality 🚀

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Placeholder font size bug

VinnichenkoD opened this issue · comments

Hello.
I have a problem with the display of the empty field's placeholder. In two different situations, the size of the text of the placeholder is different.

Example:
There are two fields of type TweeAttributedTextField.

  1. If I have the field # 1 selected and I manually tap on the field # 2 - the Placeholder font # 1 has the correct dimensions
  2. If I have the field # 1 selected and I go to the next field using the becomeFirstResponder method, the # 1 Placeholder font is larger than the specified

The difference is not significant, but noticeable

In the above examples, the fields are always empty

TweeTextField version (1.0.4)
Xcode Version 9.2
Swift 4
iOS 11.2.1

commented

Hi,
I will investigate & fix asap.

commented

Hi,
Take a look at https://github.com/oleghnidets/TweeTextField/releases/tag/1.0.5
Let me know whether it works for you.

Hi
Now, in the end, the field has the correct size, only the animation shows that it passes through an enlarged font.

Сheck this
https://www.dropbox.com/s/ittp39jdrzyyqy9/ScreenRecording_02-10-2018%2016-16-12.MP4?dl=0

commented

Thanks for response.
I see.. :( Probably, it is because the animation is fast.
I will be investigating this.

@oleghnidets @VinnichenkoD both of you guys are speak Russian why talk English :D. Действительно чего эт я

commented

Hi @VinnichenkoD @yarodevuci
I believe I have fixed. I tried to reproduce and now I can't.
Please, update pod. If you will face the issue again let me know.

@yarodevuci Because not all users would understand us 😉

Hello @oleghnidets
Apparently the problem was solved. Looks pretty good.
Thanks for the supporting 👍