Merge pull request #1347 from vector-im/jonny/fix-placeholder-overflow

[Rich text editor] Fix placeholder spilling onto multiple lines
This commit is contained in:
Benoit Marty 2023-09-15 19:08:33 +02:00 committed by GitHub
commit 4a6ce3fbae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

1
changelog.d/1347.bugfix Normal file
View file

@ -0,0 +1 @@
[Rich text editor] Fix placeholder spilling onto multiple lines

View file

@ -270,6 +270,8 @@ private fun TextInput(
style = defaultTypography.copy(
color = ElementTheme.colors.textSecondary,
),
maxLines = 1,
overflow = TextOverflow.Ellipsis,
)
}