mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Merge pull request #6284 from timurgilfanov/fix-6232
Fix typed text becoming invisible when composing long messages
This commit is contained in:
+3
@@ -103,6 +103,9 @@ fun MarkdownTextInput(
|
|||||||
}
|
}
|
||||||
addTextChangedListener { editable ->
|
addTextChangedListener { editable ->
|
||||||
onTyping(!editable.isNullOrEmpty())
|
onTyping(!editable.isNullOrEmpty())
|
||||||
|
if (state.lineCount != lineCount) {
|
||||||
|
post { bringPointIntoView(selectionStart) }
|
||||||
|
}
|
||||||
state.text.update(editable, false)
|
state.text.update(editable, false)
|
||||||
state.lineCount = lineCount
|
state.lineCount = lineCount
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user