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:
1 parent
699da95689
commit
88edfacf5d
1 file changed
+3
+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(
|
||||
|
||||
Reference in new issue
Block a user