Skip to content

Commit 71891b9

Browse files
author
ignacio
committed
Uses UILayoutFittingCompressedSize instead
1 parent 52c201e commit 71891b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Classes/SLKTextViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,7 @@ - (void)slk_willShowOrHideTypeIndicatorView:(UIView <SLKTypingIndicatorProtocol>
13121312
return;
13131313
}
13141314

1315-
CGFloat systemLayoutSizeHeight = [typingIndicatorView systemLayoutSizeFittingSize:CGSizeZero].height;
1315+
CGFloat systemLayoutSizeHeight = [typingIndicatorView systemLayoutSizeFittingSize:UILayoutFittingCompressedSize].height;
13161316
CGFloat height = typingIndicatorView.isVisible ? systemLayoutSizeHeight : 0.0;
13171317

13181318
self.typingIndicatorViewHC.constant = height;

0 commit comments

Comments
 (0)