diff --git a/apps/mobile/modules/t3-composer-editor/android/src/main/java/expo/modules/t3composereditor/T3ComposerEditorView.kt b/apps/mobile/modules/t3-composer-editor/android/src/main/java/expo/modules/t3composereditor/T3ComposerEditorView.kt index 35d796b7876fdb7022958aa71bfab3f306b17f8d..1f0da6e444deae282a80e263bb7372a6c4d02b97 100644 --- a/apps/mobile/modules/t3-composer-editor/android/src/main/java/expo/modules/t3composereditor/T3ComposerEditorView.kt +++ b/apps/mobile/modules/t3-composer-editor/android/src/main/java/expo/modules/t3composereditor/T3ComposerEditorView.kt @@ -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(