ios: content clipped — Server Details overflows sideways, Media sheet cuts the first row
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with the iOS Server Details and Media sheet implementations, and run the app on an iPhone-sized simulator to reproduce both layouts. Inspect the server content container’s width constraints and safe-area handling, then inspect the media list’s top inset relative to the segmented control. Done means all server cards, banner text, and action buttons stay within the screen, and the first media row or section header is fully visible on every tab.
由索引模型根据 Issue 内容生成。
描述
Description
Two screens in the iOS app clip their content instead of fitting the display. They look like the same class of layout bug (a content container/inset that is not constrained to the screen), so I'm reporting them together.
1. Server Details overflows sideways
The screen lays its content out wider than the phone. The navigation bar ("Server Details") is centered correctly; everything below it is clipped on both sides:
- The connection banner is cut on both edges: the title starts mid-word ("…o couldn't connect") and the detail line ends mid-word ("…Is the computer able to acc"), so the error text can't be read.
- The rounded action buttons at the right edge of the first card (the outlined "B…" button and the blue phone-icon button) are half off-screen.
- The two cards below are clipped symmetrically: the left card runs off the left edge and the "Skills 24" card runs off the right edge.
Measured from the screenshot (725 px ≈ 428 pt on this device): the content behaves like a ~500 pt-wide canvas centered on the screen — cards ~228 pt wide with a ~12 pt gap, ~36 pt clipped on each side.
2. Media sheet clips the first row
In the attachment picker (Media / Files / Links), the list starts too high, so the first item is partially hidden under the segmented control:
- Media tab: the "THIS MONTH" section header is cut in half.
- Files tab: the top of
opencode-diagnostics.txtand its icon are cut. - Links tab: the top of "Choose" and its icon are cut.
The sheet header (grabber, title, close button) and the segmented control are correct; only the scrollable list is clipped, as if it is missing a top inset.
Expected behavior
Both screens fit the device: banner text wraps/truncates, cards and buttons stay inside the safe area, and the Media list starts below the segmented control with the first row fully visible.
Actual behavior
Server Details is laid out for a ~500 pt-wide canvas on a 428 pt-wide screen and clipped ~36 pt on each side. The Media sheet clips the top of the first row/section header on all three tabs.
Additional context
The app is connected while these screens are shown (server data loads), so this is a layout problem, not a connection state. App diagnostics export available on request.
Plugins
None
OpenCode version
iOS app 0.1.0 (build 735); server OpenCode 2.4.2 on Windows 11
Steps to reproduce
Server Details
- Open the app (0.1.0, build 735) on an iPhone 12 Pro Max, iOS 27.0.
- Connect to an OpenCode 2.4.2 server.
- Open the server's Server Details screen.
- The banner, buttons, and cards extend past both edges of the screen.
Media sheet
- Open the attachment/media picker.
- Check the first item on the Media, Files, and Links tabs.
- The first row/section header is clipped at the top on every tab.
Screenshot
Operating System
iOS 27.0 (24A437), iPhone 12 Pro Max (iPhone13,4)
Terminal
N/A — iOS app
- 主要语言
- TypeScript
- 星标
- 230k
- 派生
- 31.3k
- 平均合并
- 5 小时 32 分钟
- 30 天内合并 PR
- 453
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
anomalyco/opencode 的其他 Issue
-
area/desktop platform/macos status/repro-plausible type/bug version/v2
难度 1/5 1-3 小时 新手友好度 88/100
anomalyco/opencode#67064 · 4 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 82/100
anomalyco/opencode#67009 · 2 条评论 ·
维护者通常 1 天内回复
-
area/web type/feature version/v2
难度 2/5 1-3 小时 新手友好度 78/100
anomalyco/opencode#67001 · 3 条评论 ·
维护者通常 1 天内回复
-
skills: a Claude-compatible SKILL.md that fails to parse is dropped without any log可能已有人在做 @liwenjie200543 于 2 天前认领。 未关闭area/plugins platform/linux reproduced type/bug version/v2
难度 2/5 1-3 小时 新手友好度 72/100
anomalyco/opencode#66970 · 4 条评论 ·
维护者通常 1 天内回复
-
tui: Mermaid renderer displays <b>/<strong> tags literally and ignores \n line breaks可能已有人在做 @argszero 于 2 天前认领。 未关闭area/tui platform/wsl status/repro-simulated type/bug version/v2
难度 2/5 1-3 小时 新手友好度 82/100
anomalyco/opencode#66773 · 4 条评论 ·
维护者通常 1 天内回复
查看 anomalyco/opencode 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
ci
难度 2/5 1-3 小时 新手友好度 78/100
ClickHouse/clickhouse-js#1248 ·
维护者通常 1 天内回复
-
E2E: Darlehen-Test wartet auf die gebuchte Auszahlung, bevor er zur Liquiditätsvorschau wechselt未关闭technik
难度 2/5 1-3 小时 新手友好度 78/100
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
SR5-FoundryVTT/SR5-FoundryVTT#2162 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 84/100
AhmedNAgy25/analysor#25 ·
维护者通常 1 天内回复