Repository navigation
fix(mobile): stabilize composer hints and align ios inputs - #337
Merged
Merged
Conversation
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Keep the mobile thread composer's trigger hint on one line in both compact and expanded states. Previously, expansion replaced
Ask anything…with a two-line placeholder after the animation, causing a second layout change. The hint now renders outside the native multiline input's content measurement and truncates with a tail ellipsis. Composers without triggers retain their existing placeholder; web copy is unchanged.Route every mobile editable field through a shared
ui/TextInput. On iOS it clears inheritedlineHeight, letting UIKit use the font's native metrics for placeholders and typed text. Android receives the original styles. This covers sidebar thread search, project picker search, settings search, kit fields, project settings, queued-message editing and the composer.The pinned React Native iOS implementation applies explicit line heights as paragraph attributes. Ordinary attributed text receives
RCTApplyBaselineOffset, while TextInput's default typing/placeholder attributes come directly fromRCTNSTextAttributesFromTextAttributes. The shared 16/24 typography therefore pushed input glyphs down. This predates the recent composer animation changes.Related: #242, #308
Verification
bun install,bun run gen:check,bun run typecheck,bun run lint,bun run format:check, web production build, mobile typecheck,bunx expo lint, Expo Doctor (20/20), Android native debug build, and iOS/Android production JS exports.bun run check:tmp --timeout 30000: not green — 1,712 passed, 161 skipped, one setup-hook timeout inworker-host.test.tsand one associated HTTP/2 GOAWAY error (1,874 tests / 309 files). The temp-directory gate reported nothing left. The isolatedcheck:tmp tests/integration/worker-host.test.ts --timeout 30000rerun passed all 15 tests and temp cleanup. An earlier run encountered six cascading config-sync recovery failures and exited 143 before completion; the isolated recovery file then passed all six tests. No gateway/worker code was changed.CanopyPinnedFetch; private native preparation brought available disk below the required 12 GiB, so no Xcode build was started. The probe avoided transport imports. Source inspection supports the shared fix, but does not replace full iOS app verification.Copy audit (§8)
Ask anything…plus a second trigger line → only/ commands · $ skills · @ files · # threads · ! shell, identical in compact/expanded states. Removes redundant prompt copy and the late line-count change; documented in §4.9. No-trigger and web placeholders keep their existing wording.