diff --git a/doric-iOS/Pod/Classes/Shader/DoricInputNode.m b/doric-iOS/Pod/Classes/Shader/DoricInputNode.m index 2ed6631f..0964840e 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricInputNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricInputNode.m @@ -307,6 +307,12 @@ - (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range r } - (void)textViewDidChange:(UITextView *)textView { + if (textView.markedTextRange || textView.text.length > 0) { + self.view.placeholderLabel.hidden = YES; + } else { + self.view.placeholderLabel.hidden = NO; + } + if (textView.markedTextRange) return; if (self.maxLength) {