1 parent bf54abc commit 59161b5Copy full SHA for 59161b5
1 file changed
ios/EnrichedTextInputView.mm
@@ -708,7 +708,7 @@ - (CGSize)measureSize:(CGFloat)maxWidth {
708
CGRect usedRect = [layoutManager usedRectForTextContainer:container];
709
CGSize contentSize = CGSizeMake(maxWidth, ceil(usedRect.size.height));
710
textView.contentSize = contentSize;
711
- return self.bounds.size;
+ return contentSize;
712
}
713
714
// make sure the newest state is kept in _state property
0 commit comments