We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a418ed3 + f9d7fb5 commit 529f78dCopy full SHA for 529f78d
JSMessagesViewController/Classes/JSMessagesViewController.m
@@ -414,8 +414,8 @@ - (void)textViewDidChange:(UITextView *)textView
414
415
BOOL isShrinking = textViewContentHeight < self.previousTextViewContentHeight;
416
CGFloat changeInHeight = textViewContentHeight - self.previousTextViewContentHeight;
417
-
418
- if(!isShrinking && self.previousTextViewContentHeight == maxHeight) {
+
+ if(!isShrinking && (self.previousTextViewContentHeight == maxHeight || textView.text.length == 0)) {
419
changeInHeight = 0;
420
}
421
else {
0 commit comments