diff --git a/Tusker/Screens/Compose/ComposeEmojiTextField.swift b/Tusker/Screens/Compose/ComposeEmojiTextField.swift index d003f5eb..3df54e01 100644 --- a/Tusker/Screens/Compose/ComposeEmojiTextField.swift +++ b/Tusker/Screens/Compose/ComposeEmojiTextField.swift @@ -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