forked from shadowfacts/Tusker
Fix compose CW field overflowing
This commit is contained in:
parent
4a89ae3cfe
commit
5f566724bb
|
@ -52,6 +52,9 @@ struct ComposeEmojiTextField: UIViewRepresentable {
|
|||
|
||||
view.backgroundColor = backgroundColor
|
||||
|
||||
// otherwise when the text gets too wide it starts expanding the ComposeView
|
||||
view.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
|
||||
|
||||
context.coordinator.textField = view
|
||||
context.coordinator.uiState = uiState
|
||||
context.coordinator.text = $text
|
||||
|
|
Loading…
Reference in New Issue