Skip to content

Commit c64b38c

Browse files
committed
Fix placeholder spilling onto multiple lines
1 parent b1fd5bb commit c64b38c

File tree

1 file changed

+2
-0
lines changed
  • libraries/textcomposer/impl/src/main/kotlin/io/element/android/libraries/textcomposer

1 file changed

+2
-0
lines changed

libraries/textcomposer/impl/src/main/kotlin/io/element/android/libraries/textcomposer/TextComposer.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ private fun TextInput(
274274
style = defaultTypography.copy(
275275
color = ElementTheme.colors.textDisabled,
276276
),
277+
maxLines = 1,
278+
overflow = TextOverflow.Ellipsis,
277279
)
278280
}
279281

0 commit comments

Comments
 (0)