[Bug]: iOS Branch sheet clips first tree node ("Working tree / CURRENT") under sticky header
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
- On iPhone, open T3 Code and open a thread with a branch selected.
- Tap the branch selector (the blue project/branch chip) to open the Branch bottom sheet.
- Look at the very top of the branch tree, directly under the sticky Branch header.
- Try to scroll/drag the list so the first tree node is fully visible (the recording shows dragging the sheet between detents and attempting to scroll).
Expected behavior
The branch tree should render its first node fully below the header, with enough top inset/padding that it is readable and tappable. The user should be able to reach the top of the tree and see the current selection ("Working tree" with the CURRENT subtitle and checkmark).
Actual behavior
The first node of the tree — Working tree with subtitle CURRENT and the current-selection checkmark on the right — is positioned behind the translucent sticky Branch header. Only a blurred, cut-off sliver of this row is visible through the header; the rest is clipped. It stays clipped while the sheet is dragged up/down and while the list is scrolled, so the top of the tree can never be reached. The first fully visible row is feat/investments (WORKTREE), followed by main.
This makes the top of the branch tree unreachable/invisible on iOS.
Impact
Minor bug or occasional failure
Version or commit
T3 Code iOS app labeled ALPHA in the UI (exact build not shown in the recording). Diagnostics host: opencode v2.3.2.
Environment
iPhone (portrait, 1170×2532 screen recording), T3 Code iOS mobile app. Repro appears consistently in the supplied 7s recording. Diagnostics collected on: macOS 27.0.0 (arm64), shell /bin/zsh, no configured plugins.
Logs or stack traces
N/A — visual/layout bug captured on video. Frame description: the Branch sheet header overlaps the first tree row; the row reads "Working tree" / "CURRENT" (enhanced crop confirms the label) and is covered by the header background with a blur, leaving only its lower half visible.
Screenshots, recordings, or supporting files
Screen recording supplied with the original report: ScreenRecording_11-21-2026 15-44-10_1.mp4 (7.2s, 1170×2532, 60fps). The sheet stays in this state throughout the recording.
Workaround
None identified. Dragging the sheet between snap detents, as shown in the recording, does not reveal the clipped row. Switching branches and reopening the sheet was not verified.
@PrpCena Which exact app version and build are you on (Settings → About)? And did you open the Branch sheet from the new-chat composer's branch chip or from inside an existing thread? On current main the composer chip opens a full-screen 'Branch' page and the thread opens a 'Branches & worktrees' sheet, and neither has a 'Working tree' row, so we need your build to find the screen in your recording.
Thanks for looking into this. Answers to both questions:
App version: Settings → About reports 2.0.0 (confirmed by the reporter). The recording itself only shows the T3 Code ALPHA badge in the header; no version string is visible in the video.
Where the sheet was opened from: The screen behind the sheet is the thread list, not an open thread conversation. Visible behind it are the thread-list environment filters (All environments and the blue PrpCena/Hisab chip with a clear X), and a thread row showing the preview text Okay, so I want to implement investments tracking …, a feat/investments branch chip with a green 131 indicator, and an Unsent section label below. I could not see the exact control that was tapped because the sheet covers the bottom portion of the screen.
The sheet in the recording is titled Branch (not "Branches & worktrees"). It is a bottom sheet with a back chevron at the top left and a checkmark at the top right, a Find a branch search field pinned at the bottom, and a card containing:
Working tree/CURRENT— the checkmarked/current row, clipped under the sticky headerfeat/investments/WORKTREEmain
The back chevron suggests this "Branch" view is a pushed sub-screen within a sheet flow, which may explain why it doesn't match either of the current-main screens you described. The original ~7 s screen recording is available from the reporter if it helps match the build.
Closing this — the behavior was on an older app version (2.0.0) and is already fixed in the current version. Thanks Julius for the quick help, and sorry for the noise.
I tried to reproduce this on the current build and could not.
Commit 4157f383f6 (origin/main). Ran T3CODE_DEV_SEED=0 vp run dev in a fresh worktree and Metro for apps/mobile. Installed the iOS dev client for that fingerprint with vp run mobile:install ios --session on a pooled iPhone 18 Pro simulator (iOS 27.2) and paired it with the test-t3-mobile pair-client.sh helper. Steps: Chats tab, New chat, picked the project (a git checkout with many local and remote branches, main checked out as a worktree), tapped 'Choose branch' in the composer. The 'Branch' page opened full screen with the 'Find a branch' search pinned at the bottom. Its first row, 'main' / WORKTREE with the selection checkmark, sat fully below the header, readable and tappable; the rows after it were also unobstructed. Also checked the other candidate screens in code: the in-thread 'Branches & worktrees' sheet (GitBranchesSheet) begins with a 'New branch' form, and the thread-settings sheet (the one with a top-right confirm) has no Branch page. No 'Working tree' branch row exists in mobile code on main or at the 2.0.0 release (4eae8ae011^). In 2.0.0, NewTaskBranch used GLASS_HEADER_OPTIONS (a translucent header that content can scroll under); main uses pageRoute(). The reporter later closed the issue (not_planned, 2026-11-21T21:55Z), saying it was on 2.0.0 and is fixed in the current version.
Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.