Skip to content

fix(mobile): keep Android running-turn transcript above the composer - #15

Draft
macodev00 wants to merge 3 commits into
mainfrom
cursor/android-composer-transcript-inset-b673
Draft

macodev00 wants to merge 3 commits into
mainfrom
cursor/android-composer-transcript-inset-b673

Conversation

@macodev00

Copy link
Copy Markdown
Owner

Fixes pingdotgg#11992 on this fork only. Do not open an upstream PR.

During a running turn on Android, the newest transcript lines sat under the composer and the floating “Working for …” pill and could not be scrolled into view. The pill is absolutely positioned, so the overlay’s onLayout never included it. Android’s first reportContentInset then replaced the seed (which did include pill coverage) with composer-only height.

This reserves the pill’s coverage in the composer overlay while the running chrome is shown, so the measured end inset includes it. Settled threads (pill hidden) are unchanged.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Model: Cursor Grok 4.6. Harness: Cursor Cloud Agent.

Open in Web Open in Cursor 

macodev00 and others added 3 commits September 20, 2026 09:34
The working pill sat outside the composer overlay, so Android's first content-inset report replaced the seed with composer-only height and the newest streamed lines could not be scrolled into view. Reserve the pill in overlay flow so the measured inset includes it.

Co-authored-by: maco <macodev00@users.noreply.github.com>
CodeRabbit docstring coverage was 33% on the three functions this
diff touches. Document ThreadDetailScreen and FloatingWorkingControl
so coverage meets the 80% threshold.

Co-authored-by: maco <macodev00@users.noreply.github.com>
CodeRabbit docstring coverage stayed at 66.67% because JSDoc on
memo(function ThreadDetailScreen) did not attach to the inner name.
Document the named functions this diff touches so coverage can reach 80%.

Co-authored-by: maco <macodev00@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Android composer and working pill cover the newest transcript lines during a running turn, and they cannot be scrolled into view

1 participant