Skip to content

Commit 8a64055

Browse files
PR Batch Testerclaude
andcommitted
docs(mobile): qualify the IME note on hardware Return
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 7300def commit 8a64055

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/mobile/modules/t3-composer-editor/android/src/main/java/expo/modules/t3composereditor/T3ComposerEditorView.kt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,8 +692,8 @@ internal class SelectionAwareEditText(context: Context) : EditText(context) {
692692
(event.flags and KeyEvent.FLAG_SOFT_KEYBOARD) != 0
693693

694694
// No composing-text check, unlike iOS's marked-text guard: Latin IMEs keep a composing region
695-
// over the current word even for hardware typing, and IMEs that confirm a composition with
696-
// Return consume the key before it reaches the view.
695+
// over the current word even for hardware typing, so it would block every send. An IME that
696+
// confirms a composition with Return is expected to consume the key before the view sees it.
697697
private fun canSubmit(): Boolean =
698698
submitEnabled && submitListener != null && !readOnly && isEnabled
699699

0 commit comments

Comments
 (0)