Skip to content

fix(mobile): keep Android composer caret visible - #1

Closed
egefeyzioglu wants to merge 2 commits into
mainfrom
fix/android-composer-caret-scroll
Closed

egefeyzioglu wants to merge 2 commits into
mainfrom
fix/android-composer-caret-scroll

Conversation

@egefeyzioglu

@egefeyzioglu egefeyzioglu commented Jul 30, 2026 •

Copy link
Copy Markdown
Owner

The Android message composer could expand behind the software keyboard and leave the active caret below the editor's visible viewport. Once the draft exceeded the visible height, users had to manually scroll down to see what they were typing.

This restores native vertical scrolling only when the content actually overflows, then coalesces caret-visibility work onto the Android UI queue after text, selection, expansion, and layout changes. The editor follows the active line without scheduling redundant scroll work.

Physical-device verification

Tested on a Samsung Galaxy S9 (Android 10) with a 16-line draft and the software keyboard open:

Fixed Android composer showing lines 13 through 16 and the caret visible above the keyboard

The fixed composer keeps lines 13–16 and the caret visible above the keyboard. A clean origin/main APK reproduced the missing auto-scroll before the dev client later became unavailable during repeated in-place APK swaps; I did not substitute a fabricated before image.

Verification

  • Rebased onto current origin/main (4ba4871af)
  • :app:assembleDebug for ARM64 completed successfully on the dedicated build VM
  • Installed and exercised on a physical Galaxy S9
  • git diff --check origin/main...HEAD
  • CodeRabbit local review: 0 findings
  • Confirmed no equivalent fix exists in current origin/main

Implemented with GPT-5.6-Sol through the T3 Code Codex harness.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S size:M and removed size:S labels Jul 30, 2026
@egefeyzioglu
egefeyzioglu force-pushed the fix/android-composer-caret-scroll branch from 888f6ad to ca435f3 Compare July 30, 2026 12:16
@github-actions github-actions Bot added size:XXL and removed size:M labels Jul 30, 2026
@egefeyzioglu
egefeyzioglu force-pushed the fix/android-composer-caret-scroll branch 2 times, most recently from 8365614 to 95744c5 Compare July 30, 2026 16:46
@github-actions github-actions Bot added size:M and removed size:XXL labels Jul 30, 2026
@egefeyzioglu
egefeyzioglu force-pushed the fix/android-composer-caret-scroll branch from 95744c5 to dcac2e7 Compare August 20, 2026 01:02
@egefeyzioglu

Copy link
Copy Markdown
Owner Author

Fixed upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant