Merge pull request #6284 from timurgilfanov/fix-6232
Fix typed text becoming invisible when composing long messages
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user