Merge pull request #6284 from timurgilfanov/fix-6232

Fix typed text becoming invisible when composing long messages
This commit is contained in:
Benoit Marty 2026-03-05 17:31:04 +01:00 committed by GitHub
commit 62cc23be22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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