@devries-cameron20 / t3code-1 / commits / 88edfacf5d
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

vivek committed Oct 10, 2026 at 08:30 UTC 88edfacf5d5f2ad6deec7ee5ec1c19ee68f23a13
1 file changed +3
apps/mobile/modules/t3-composer-editor/android/src/main/java/expo/modules/t3composereditor/T3ComposerEditorView.kt
+3
@@ -37,6 +37,9 @@ class T3ComposerEditorView(context: Context, appContext: AppContext) : ExpoView(
37 context,
38 appContext
39 ) {
40 + // React Native ignores the editor's requestLayout(), which makes TextView defer caret scrolls.
41 + override val shouldUseAndroidLayout = true
42 +
43 private val editor = SelectionAwareEditText(context)
44 private val defaultHighlightColor = editor.highlightColor
45 private val defaultSelectionColor = context.resolveThemeColor(