fix(mobile): Android composer keeps the caret in view on AOSP-based keyboards (#17492)

Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
vivekandClaude Opus 5.5 authored and GitHub committed 2026-10-10 03:00:43 +00:00
1 parent 699da95689
commit 88edfacf5d
1 file changed
+3
@@ -37,6 +37,9 @@ class T3ComposerEditorView(context: Context, appContext: AppContext) : ExpoView(
context,
appContext
) {
// React Native ignores the editor's requestLayout(), which makes TextView defer caret scrolls.
override val shouldUseAndroidLayout = true
private val editor = SelectionAwareEditText(context)
private val defaultHighlightColor = editor.highlightColor
private val defaultSelectionColor = context.resolveThemeColor(