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.
UILayoutFittingCompressedSize
1 parent 52c201e commit 71891b9Copy full SHA for 71891b9
Source/Classes/SLKTextViewController.m
@@ -1312,7 +1312,7 @@ - (void)slk_willShowOrHideTypeIndicatorView:(UIView <SLKTypingIndicatorProtocol>
1312
return;
1313
}
1314
1315
- CGFloat systemLayoutSizeHeight = [typingIndicatorView systemLayoutSizeFittingSize:CGSizeZero].height;
+ CGFloat systemLayoutSizeHeight = [typingIndicatorView systemLayoutSizeFittingSize:UILayoutFittingCompressedSize].height;
1316
CGFloat height = typingIndicatorView.isVisible ? systemLayoutSizeHeight : 0.0;
1317
1318
self.typingIndicatorViewHC.constant = height;
0 commit comments