Skip to content

Commit

Permalink
invalidate placeholder visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
kmsbernard committed Nov 18, 2021
1 parent c679dab commit 2dd1dc0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Libraries/Text/TextInput/Multiline/RCTUITextView.m
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ - (void)setTextAlignment:(NSTextAlignment)textAlignment
_placeholderView.textAlignment = textAlignment;
}

- (void)setAttributedText:(NSAttributedString *)attributedText
{
[super setAttributedText:attributedText];
[self textDidChange];
}

- (void)setSelectedTextRange:(UITextRange *)selectedTextRange notifyDelegate:(BOOL)notifyDelegate
{
if (!notifyDelegate) {
Expand Down

0 comments on commit 2dd1dc0

Please sign in to comment.