Skip to content

Commit ad23041

Browse files
authored
fix height (#107)
1 parent 0b9c945 commit ad23041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NextGrowingTextView/NextGrowingTextView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ final class PlatterTextView: UIScrollView {
406406
if actualTextViewSize.height < state.resolvedMinHeight || !_textView.hasText {
407407
containerSize = CGSize(width: actualTextViewSize.width, height: state.resolvedMinHeight)
408408
} else if state.resolvedMaxHeight > 0 && actualTextViewSize.height > state.resolvedMaxHeight {
409-
containerSize = CGSize(width: actualTextViewSize.width, height: state.resolvedMinHeight)
409+
containerSize = CGSize(width: actualTextViewSize.width, height: state.resolvedMaxHeight)
410410
} else {
411411
containerSize = actualTextViewSize
412412
}

0 commit comments

Comments
 (0)