You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Native: @scaffald/ui Table lays out unreadably on iPad — empty header, glyph row, overlapping cells #768
Found on the native iPad pass for #373 (iPad Pro 13" simulator, SDK 56 dev client), after the <Text> render error in the same tables was fixed.
What renders
Office → Workers → Storage Analytics → "Top users by storage consumption" (packages/scf-core/features/office/office-storage-dashboard.tsx, rendered through @scaffald/uiTable via columnsFromTanStack):
the header row is an empty ~80pt block
below it, a row of seven sort glyphs (⌃⌄) with no column titles
the first data row's cells overlap each other: Test User / @test-user-… drawn under 0.0% of 100.0 MB
So the table is unreadable on native. The same component is used by the other Office tables (applications, compliance, transactions) — check each on a device; the storage one is just the first on the landing screen.
Why it's probably structural
packages/ui/src/components/Table/Table.tsx has a stacked card mode for narrow screens and a row/column mode otherwise; the column mode's header and cell widths come from TableColumnHeader.styles.ts / TableCell.styles.ts, which were written for react-native-web where display: table-ish behaviour and minWidth on flex children behave differently than Yoga on native. The empty header block and the glyph row look like the header's title <Text> and its sort control laying out in separate rows, and the cell overlap looks like position: absolute or zero-width flex children.
Not diagnosed further here — it needs the Table's native layout looked at as a whole, not one screen patched.
Acceptance
Office tables readable on an iPad Pro simulator (column titles visible, cells do not overlap), screenshot on the PR
The same check on an iPhone-width native screen (stacked mode)
Fixed in #794 plus Scaffald/ui#33, #34, #35 (and #36 for the docs-site fallout). It was five layered faults, each visible only after the previous one was fixed: the 768pt off-by-one that never stacked an iPad, the grid mode being a web-only layout (so native now always stacks), formatter strings thrown into a View, a nested FlatList that paints nothing, and a flex: 1 container Yoga collapses to zero. Also: '20%' column widths were 20px on web too.
Verified on the iPad Pro 13" simulator, Office → Storage Analytics with four seeded rows: labelled cards, no overlap, no empty header block. The iPhone-width check is blocked by #796 — the storage screen does not scroll on a phone, so the table cannot be reached — filed with its own acceptance; stacking is the same code at every native width.
iPhone half verified in #798 (merged as e19507d). On the iPhone 17 Pro simulator /office/storage now scrolls to "Top users by storage consumption", and the table renders as stacked cards with every column labelled, same as the iPad in #794. The scroll itself was the blocker (#796): the Office stack now wraps every screen in a native ScrollView through the navigator's screenLayout.
One desktop-web finding came out of the same check and is filed as #799: the same table on web renders cells without column widths and clips its body to ~116 px. Whether that predates #794's Table changes still needs a bisect.
Activity
fix(Table): native always stacks, and a percentage column width is a …
fix(Table): a stacked line wraps bare strings in Text — native threw …
fix(Table): stacked rows actually paint on native — plain map, conten…
chore(ui): bump @scaffald/ui to Scaffald/ui#34 — stacked lines wrap b…
fix(table-columns): call formatter cells directly so their strings re…
chore(ui): bump @scaffald/ui to Scaffald/ui#35 — stacked rows paint o…
chore(ui): bump @scaffald/ui to Scaffald/ui#36 — docs-site no longer …
fix(native): no cookie sheet on iOS/Android, and Office tables render…
thinkclay commentedon Sep 17, 2026
Fixed in #794 plus Scaffald/ui#33, #34, #35 (and #36 for the docs-site fallout). It was five layered faults, each visible only after the previous one was fixed: the 768pt off-by-one that never stacked an iPad, the grid mode being a web-only layout (so native now always stacks), formatter strings thrown into a View, a nested FlatList that paints nothing, and a
flex: 1container Yoga collapses to zero. Also:'20%'column widths were 20px on web too.Verified on the iPad Pro 13" simulator, Office → Storage Analytics with four seeded rows: labelled cards, no overlap, no empty header block. The iPhone-width check is blocked by #796 — the storage screen does not scroll on a phone, so the table cannot be reached — filed with its own acceptance; stacking is the same code at every native width.
fix(native): every Office screen scrolls on a phone (#796) (#798)
thinkclay commentedon Sep 17, 2026
iPhone half verified in #798 (merged as e19507d). On the iPhone 17 Pro simulator
/office/storagenow scrolls to "Top users by storage consumption", and the table renders as stacked cards with every column labelled, same as the iPad in #794. The scroll itself was the blocker (#796): the Office stack now wraps every screen in a native ScrollView through the navigator'sscreenLayout.One desktop-web finding came out of the same check and is filed as #799: the same table on web renders cells without column widths and clips its body to ~116 px. Whether that predates #794's Table changes still needs a bisect.
feat(theme): ship dark mode — gate off, system scheme followed on web…