Merge pull request #6284 from timurgilfanov/fix-6232
Fix typed text becoming invisible when composing long messages
This commit is contained in:
commit
62cc23be22
1 changed files with 3 additions and 0 deletions
|
|
@ -103,6 +103,9 @@ fun MarkdownTextInput(
|
|||
}
|
||||
addTextChangedListener { editable ->
|
||||
onTyping(!editable.isNullOrEmpty())
|
||||
if (state.lineCount != lineCount) {
|
||||
post { bringPointIntoView(selectionStart) }
|
||||
}
|
||||
state.text.update(editable, false)
|
||||
state.lineCount = lineCount
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue