Skip to content

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

Open
WynterW wants to merge 1 commit into
devxoul:mainfrom
WynterW:UITextView+Placeholder_Branch
Open

Fixed ‘textView.font’ and ‘self.placeholderLabel.font’ fonts with dif…#40
WynterW wants to merge 1 commit into
devxoul:mainfrom
WynterW:UITextView+Placeholder_Branch

Conversation

@WynterW

@WynterW WynterW commented Jul 28, 2017

Copy link
Copy Markdown

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'.

@devxoul

devxoul commented Jul 31, 2017

Copy link
Copy Markdown
Owner

Can you write tests for this?

@popwarfour

Copy link
Copy Markdown

Whoops, didn't see (or test) this PR first. I just submitted what appears to be a duplicate.
#44

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants