HTYTextField icon indicating copy to clipboard operation
HTYTextField copied to clipboard

Text overlapping with rightPlaceholder text

Open madan222 opened this issue 8 years ago • 3 comments

While entering text into HTYTextField , entered text overlaps rightPlaceholder text. See the attached image. is there any way to handle this particular bug. thumb_img_1144_1024

madan222 avatar May 06 '16 06:05 madan222

I'll look into fixing this and making a pull request at some point, but what I'd suggest trying is:

  • Calculate the width of the right placeholder
  • Subclass HTYTextfield and override editingRectForBounds, subtracting the right placeholder width

nevillco avatar Jun 09 '16 15:06 nevillco

ANy Updates for the same @nevillco ?

iHackSubhodip avatar Sep 27 '16 13:09 iHackSubhodip

I hide it when text.characters.count == 2

demylia avatar May 30 '17 14:05 demylia