Fix broken Compose layout when replying to long statuses
This commit is contained in:
parent
2426989161
commit
45ac40b125
|
@ -36,8 +36,9 @@ struct MainComposeTextView: View {
|
||||||
) { (textView) in
|
) { (textView) in
|
||||||
self.height = max(textView.contentSize.height, minHeight)
|
self.height = max(textView.contentSize.height, minHeight)
|
||||||
}
|
}
|
||||||
.frame(height: height ?? minHeight)
|
}
|
||||||
}.onAppear {
|
.frame(height: height ?? minHeight)
|
||||||
|
.onAppear {
|
||||||
if !hasFirstAppeared {
|
if !hasFirstAppeared {
|
||||||
hasFirstAppeared = true
|
hasFirstAppeared = true
|
||||||
becomeFirstResponder = true
|
becomeFirstResponder = true
|
||||||
|
|
Loading…
Reference in New Issue