Digital ACT-191 ONEAPP-6682 story: Fixed minor issue for TextArea height
This commit is contained in:
parent
2ff683e087
commit
af2c5cd368
@ -288,7 +288,7 @@ extension TextArea: UITextViewDelegate {
|
||||
if let textViewHeightConstraint, textView.isEditable {
|
||||
var height = textView.contentSize.height
|
||||
height = max(height, _minHeight.value)
|
||||
if height > Height.twoX.value && height < Height.fourX.value {
|
||||
if height > Height.twoX.value && height <= Height.fourX.value {
|
||||
textViewHeightConstraint.constant = Height.fourX.value
|
||||
} else if height > Height.fourX.value {
|
||||
textViewHeightConstraint.constant = Height.eightX.value
|
||||
|
||||
Loading…
Reference in New Issue
Block a user