UITextView-Placeholder icon indicating copy to clipboard operation
UITextView-Placeholder copied to clipboard

Fixed ‘textView.font’ and ‘self.placeholderLabel.font’ fonts with dif…

Open WynterW opened this issue 7 years ago • 2 comments

The initial value of 'textView.text' is not empty. Then edit 'textView.text' to empty, the code for setting the font cannot be executed when updating the placeholders. This results in inconsistencies between 'textView.font' and 'self.placeholderLabel.font'.

WynterW avatar Jul 28 '17 04:07 WynterW

Can you write tests for this?

devxoul avatar Jul 31 '17 05:07 devxoul

Whoops, didn't see (or test) this PR first. I just submitted what appears to be a duplicate. https://github.com/devxoul/UITextView-Placeholder/pull/44

popwarfour avatar Jan 04 '18 23:01 popwarfour