@devries-cameron20 / t3code Mirror · read-only / commits / ccfbe3539e
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 03:15 UTC

fix(mobile): iOS compose button no longer grows while a tab is pressed (#28955)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Jeremy Meidinger committed Nov 6, 2026 at 01:49 UTC ccfbe3539eb1acd7cf33ec2473c51017432b46c3
1 file changed +4 -1
apps/mobile/modules/t3-native-controls/ios/T3SidebarTabBarView.swift
+4 -1
@@ -8,7 +8,10 @@ private final class WorkspaceTabBar: UITabBar {
8 super.layoutSubviews()
9 // iOS 26.6 doesn't copy item identifiers onto its tab buttons; the bar holds no other controls.
10 let identified = tabButtons(in: self) { $0.accessibilityIdentifier?.hasPrefix("workspace-tab-") == true }
11 - let buttons = identified.isEmpty ? tabButtons(in: self) { _ in true } : identified
11 + let candidates = identified.isEmpty ? tabButtons(in: self) { _ in true } : identified
12 + // Pressing a tab adds a magnified copy of the row for the glass lens, without identifiers.
13 + // Sizing compose from it leaves compose enlarged until the bar lays out again.
14 + let buttons = candidates.filter { convert($0.bounds, from: $0).size == $0.bounds.size }
15 let row = buttons.reduce(CGRect.null) { $0.union(convert($1.bounds, from: $1)) }
16 if !row.isNull { onContentLayout?(row) }
17 }