| ... | @@ -37,6 +37,9 @@ class T3ComposerEditorView(context: Context, appContext: AppContext) : ExpoView( | ... | @@ -37,6 +37,9 @@ class T3ComposerEditorView(context: Context, appContext: AppContext) : ExpoView( |
| 37 | context, | 37 | context, |
| 38 | appContext | 38 | appContext |
| 39 | ) { | 39 | ) { |
| | 40 | // React Native ignores the editor's requestLayout(), which makes TextView defer caret scrolls. |
| | 41 | override val shouldUseAndroidLayout = true |
| | 42 | |
| 40 | private val editor = SelectionAwareEditText(context) | 43 | private val editor = SelectionAwareEditText(context) |
| 41 | private val defaultHighlightColor = editor.highlightColor | 44 | private val defaultHighlightColor = editor.highlightColor |
| 42 | private val defaultSelectionColor = context.resolveThemeColor( | 45 | private val defaultSelectionColor = context.resolveThemeColor( |