Skip to content

fix(mobile): iPhone compose button no longer covers the last tab - #93

Merged
joaoheusi merged 1 commit into
mainfrom
t3/fix-compose-navbar-position
Nov 8, 2026
Merged

joaoheusi merged 1 commit into
mainfrom
t3/fix-compose-navbar-position

Conversation

@joaoheusi

Copy link
Copy Markdown
Owner

On a 393pt iPhone (iPhone 15 Pro), the floating compose button sat on top of the Settings tab instead of beside the tab bar.

The native tab bar places compose 16pt after the last tab button it measures. pingdotgg#28955 (upstream) filters out the glass lens's magnified copy of the row with an exact convert(bounds).size == bounds.size check. Converting a translated rect rounds, so at some widths the last real tab fails that check. Compose then lands one tab-width too far left. The filter now compares sizes with a 1pt tolerance. The lens copy is still excluded: compose keeps its size after a tab press.

Verified on an iPhone 15 Pro simulator (iOS 26.5). The bug did not appear on the 402pt iPhone 17 Pro simulator.

Before After

Done with Claude Opus 5.5 in Claude Code (T3 Code).

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XS labels Nov 8, 2026
@joaoheusi
joaoheusi merged commit d723091 into main Nov 8, 2026
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted 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