Repository navigation
fix(ui): focusing a low field scrolls the whole drawer off-screen - #328
Conversation
`overflow: hidden` clips like a scroll container because it IS one. Every box that holds this app's fixed interface used it, so the browser counted each as somewhere it could scroll to reach a focused field — and then there was no way back, since a clipped box paints no scrollbar and takes no wheel. Measured in Chrome at 390x844 on `/gb/south-east/brighton/163/register`: `scrollIntoView` on the form's submit button put `[data-vaul-drawer]` at `scrollTop: 762`. The header left the screen, a blank band replaced it, and Cancel/Register floated over nothing. In a contained embed the compact card's dialog did the same at `scrollTop: 528`, carrying the whole widget out of the host's own box. `overflow: clip` is the same paint with no scroll box at all. It goes on the Drawer atom's `content` slot, on `MapFrame`, and on `CompactEmbedView`'s dialog — every element carrying `[contain:layout]`, which is what re-parents the fixed layer onto it. Only the dialog was measured overflowing; the other two carry it as the stated invariant. `scroll-pb-28` is what the panel can no longer absorb: a sticky `DrawerFooter` paints OVER the body, so a field scrolled flush to the bottom edge parks behind EventView's Register bar. Two specs, each watched failing against the defect first. `Drawer.scroll` pins the atom's classes rather than `scrollTop`, because jsdom has no layout and that assertion would pass against the bug. `overlay.clip` is the closed list over `[contain:layout]`, because this session fixed the panel and left the dialog scrolling — which is exactly the failure a closed list exists for. Closes #326 Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RA2xQvrinJWAUkdn1HWefd
Review of the branch found a fourth box of the same class and two ways the first pass could pass by vacuum. `DrawerStack`'s map-less container is `MapFrame`'s `map=false` twin: the filled panel is `!absolute !inset-0` against it, so it is that panel's containing block, and vaul translates the panel on drag and on close. Nothing has been measured overflowing it — map-less takes no snap ladder — so it carries the invariant, not a repair. That box takes the containing block through `position: relative`, not `contain: layout`, so a scan for the latter could never see it. The closed list is named now, with the `[contain:layout]` scan kept beside it only to catch a box added that way. `overlay.clip` asserted class TOKENS against a substring. `CompactEmbedView`'s own spec carries the defect that settles this: prettier-plugin-tailwindcss ate a template literal's leading space and shipped `text-foregroundh-full`, which a substring assertion passes. One of the scanned strings is that exact shape. Watched a glued `outline-noneoverflow-clip` pass the old matcher and fail the new one. Two prose corrections, both found by reading rather than measuring. The panel's overflow is vaul's own `::after` filler (`top: 100%; height: 200%`, ~1688px on a phone sheet) — no view creates it and none can decline it, which is why the atom owns the clip. And `clip` is not `hidden` in every respect: it establishes no block formatting context. Moot for all four boxes — the panel is a flex container, and `contain: layout` already gives the frames an independent formatting context — but the spec said "the same paint" and now says what it means. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RA2xQvrinJWAUkdn1HWefd
The containment section of `components/AGENTS.md` is where the next author reads about `contain: layout` re-parenting the fixed layer. It now carries the other half: such a box clips, and both mechanisms that make it matter — a snap-translated sheet contributing its translate to whatever holds it, and vaul's `::after` background filler on the panel itself. It also names the box a reader would otherwise miss, `DrawerStack`'s map-less container, which takes the containing block through `position: relative`. `docs/testing.md` had two more figures left stale by the tenth inventory spec: a walk count that now reads as a bare "another", and nine closed lists that are ten. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RA2xQvrinJWAUkdn1HWefd
Deploying sahajatlas with
|
| Latest commit: |
9c133c3
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ec7b389a.sahajatlas.pages.dev |
| Branch Preview URL: | https://claude-fix-326-drawer-scroll.sahajatlas.pages.dev |
sydevs-bot
left a comment
There was a problem hiding this comment.
1 question for the reviewer, one per thread.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
sahajatlas-design | 9c133c3 | Oct 27 2026, 07:55 PM |
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 Adversarial review
The fix works and the acceptance criterion holds — on the preview the panel's scrollTop/scrollLeft stay 0 after focusing every control, with overflow: clip computed. The behaviour is five tokens. Around them the diff adds ~250 lines and states one mechanism eight times, three of which point at components/AGENTS.md and then re-explain it. That aggregate is the thing to push on.
The two halves differ in kind. Clipping the frames is a real invariant, and the compact dialog's 528px was measured. Clipping the panel neutralises an effect whose cause is still present and is ours: 1686px of overflow from a ::after in our own vendored styles/vaul.css. Scope is clean and no contract surface is touched.
Findings
- should-fix — the panel still carries all 1686px of overflow; the cause is a rule in a file we vendor (
Drawer.tsx:31). - should-fix —
scroll-pb-28sits on the base slot for one caller, and the body's reason for that is inverted (Drawer.tsx:58). - should-fix — one mechanism restated in three files that already point at its owner (
MapFrame.tsx:120). - consider — 112px is constant where the footer's offset is not (
Drawer.tsx:54).
What was checked
Read whole: the four touched components, both new specs, styles/vaul.css, components/AGENTS.md, #326.
Browser, branch preview at 390×844 on the register route: overflow: clip, scrollHeight 2529 / clientHeight 843, offsets 0 after focusing all 6 controls, body scroll-padding-bottom: 112px. The body says no preview had deployed; one has since. Not reproduced: the top snap with 14 fields.
Clear: scroll-pb-28 generates (--spacing: 4px); overflow: clip is under docs/embedding.md's Safari 16.4 floor; DrawerFooter's sticky prop is absolute, so losing the block formatting context costs no scrollport.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
|
Two gaps, found while verifying #319 — which this branch also fixes (measured: Month button y = −70 → 53 on a direct
Not pushed: this PR holds 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
Four files stated the same containment mechanism for five changed tokens, three of them pointing at `components/AGENTS.md` and then re-explaining it. Each now carries the pointer plus the one fact local to the file: the measured 528px for the compact dialog, "nothing measured here" for the two boxes that carry the invariant rather than a repair, and vaul's `::after` filler for the panel, which is the one overflow no view can decline. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HaLJxGqK9T5rxtF8cGX4ZW
`scroll-pb-28` sat on the Drawer's base body slot for a single caller. `EventView`'s Register bar is the app's only `sticky` DrawerFooter, so the ten other drawer bodies carried 112px of scroll padding with nothing at the bottom to clear — the register form among them, which has no footer at all. Both numbers now sit on that one body, where `pb-20` already was, and a spec holds the pair so a drift fails. The constant was also right at the top snap only. The sticky footer is pinned to the viewport edge through `--sy-sheet-top`, while the body's own box runs to the panel's bottom — measured at 390×844 with the sheet at its 544px snap, the body's bottom edge sits 519px below the viewport, so 112px of scroll padding parked a focused field that far off-screen rather than above the bar. The padding carries the same offset: computed 656px at that snap, 137px at the top one, and `auto` wherever no bar renders. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HaLJxGqK9T5rxtF8cGX4ZW
Two gaps in what shipped, both reported against this branch. `story-harness.tsx` hand-copies the panel's chrome so a view previews in Ladle with the chrome the app renders. It still said `overflow-hidden`, so every story — CalendarView's among them — previewed the box this branch repaired. And the spec read the base `content` slot alone. `filled` and the wide left panel are nothing but `!important` overrides of that slot, and tailwind-merge does not strip a base `overflow-clip` across importance: a compound adding `!overflow-hidden` leaves the panel carrying both classes, and the assertion stayed green. It now mounts all sixteen variant combinations and refuses any overflow token that scrolls, at any importance, prefix or axis — watched failing against both shapes, on the eight filled cases and on the four left ones. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HaLJxGqK9T5rxtF8cGX4ZW
|
Base merged clean (825c1d9). Three commits, lean gate green at 1776 tests. Adopted — the clearance to its one caller and its offset in 4bde402; comment duplication in bd4f913. Rebutted — delete vaul's Also pushed (3ecc9c4), from a peer comment: the story harness still hid its overflow, and the spec read base slots alone. Both reproduced first. Open, and it holds the merge: the 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
#329 landed its own `### Fixed` entry and link reference at the same two positions this branch writes to. Both entries are wanted: the radio mark and the drawer scroll are unrelated host-visible fixes. Kept both, #329 first to hold the section's descending PR order. No other file overlaps — #329 touched RadioGroup, the ladle wrapper and the scope spec, none of which this branch reads. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015WGofpx29gVMbk8UboQ8eB
|
Merged Lean gate green on the merge: 150 files, 1779 tests. 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
#332 and this branch each added one spec that inventories `src/` and one that reads a single repo file. Each side bumped the shared counts by one, so git merged both edits and left every count one short. CHANGELOG: both `### Fixed` entries and both link references kept — the 16px zoom floor and the drawer scroll are unrelated host-visible fixes. docs/testing.md and the three docblocks: counts re-derived from the merged tree rather than taken from either side — eleven inventories, three of them parsing, fourteen walkers, eight raw-text readers. scripts/select-unit-specs.test.ts: the widest per-edit selection reaches 17, one adopter of `repo-source.ts` from each side, against a ceiling of 16. The spec's own comment names the answer — time the hook and ratchet, never drop a spec — so the ceiling is 18. Timed here at ~3.6s against the 12s budget, and `i18n.ts`'s 12 specs at ~3.5s, which is why the comment now claims width is not time instead of quoting one machine's seconds. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oxdkGx61u6EaQ13SgYhSX
|
Merged What the diff cannot show: #332 and this branch each added one That same doubling tripped Lean gate green: 151 files, 1788 tests. 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
#320 landed on main and replaced this view's constant clearance with a spacer sized by the footer's own published height, which answers the open question thread here. Five hunks, resolved keeping both behaviours: - EventView: main's body-slot spacer owns the CONTENT clearance, so `pb-20` goes. The scroll clearance stays — a spacer cannot stop focus parking a field behind the bar — and now spends `--sy-footer-h` rather than 112px, which #320 measured wrong in both directions (the bar runs 65px to 197.5px). It keeps `--sy-sheet-top` on top, which #320 did not need. - Drawer.tsx: both docblock halves kept. main's `fixed`-not-`absolute` ⚠, plus the scroll half rewritten against the published height. - Drawer.scroll.test.tsx: asserts the new token, and that no constant padding returns. Watched failing against the token's removal, against a 112px constant, and against `pb-20` coming back. - select-unit-specs.test.ts, docs/testing.md: both sides raised the per-edit ceiling. 18 measured here, so main's prose keeps its two ⚠ lines at the branch's number. On 4 cores the widest selection is 5.0s and `i18n.ts` 4.7s, so "the widest is not the slowest" has flipped and the claim is now that width is not time at all. - CHANGELOG.md: both link references. Lean gate: lint, typecheck, test:run — 154 files, 1814 tests. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjXP4oj7LD6ydH8sXPr
|
Merged #320 built the Watched the rewritten spec fail against the token's removal, against a 112px constant, and against Both sides raised the per-edit ceiling: 18 measured here, so Lean gate: 154 files, 1814 tests. 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
|
No code change this run. The branch already carries Answered — the Body refreshed where the 9c133c3 merge had left it false: both That was the last open thread. 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
…d and stuck labels (#217) * fix(dispatcher): retry a GitHub 5xx under every call One 503 mid-plan ended an `act` leg after the lease was taken and before the lock label was written. sydevs/SahajAtlasWeb#318 and sydevs/WeMeditateWeb#146 were then refused as contention on every later fire, silently, for days, until the refs were deleted by hand on 2026-10-27. `installRetry` wraps the Octokit request hook once per leg, so REST, `paginate` and GraphQL all retry a 500/502/503/504 or a dropped connection `dispatch.githubRetry.attempts` times, doubling from `baseSeconds`. A 4xx is an answer and is never retried. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(dispatcher)!: derive Status from state, and retire the awaiting, blocked and stuck labels On 2026-10-27 seven open items sat in a dead zone with none of `awaiting`, `blocked` or `bot:working` (SahajAtlasWeb#318 and #328, WeMeditateWeb#124, #146, #150, #168 and #198). Each label was written on a transition, so a transition that was missed left nothing at all. What changes, each with the failure it prevents: - Status is derived, never read. `status.mjs` turns the record, the relationships, Hold Until, the lock and the PR into one of Awaiting, Blocked, Hold, Pending, Working or Done; every plan ends in `syncStatus` and `apply` writes it after the plan's other writes. `rec.status` remembers the value written, so a different one on the board is a drag, reverted and journalled (`board-drag`). Roadmap goals get a Status too. `bot:working` stays: it is the lease a session reads, the unlock event, and the kill switch. - Approval lives in the record (`approved: {by, at}`), not in a Status the board could lose. `pendingImplement` folds into it; `hold`, `revise`, a reopen, an abandoned PR and a build that ends with no PR spend it. - Pending has a due. A wait the machinery owns starts `pendingSince`; past `dispatch.pendingDueMinutes` the reconciler checks it again, up to `maxAttempts`, then hands it back with the reason. #328 and #198 sat approved and armed for days with nobody owning the wait. `handback` replaces `stuck` and every give-up label. - The reconciler replaces the two-hour drift window, which the 2–7 hour cron rarely met (#124, #150): a cheap GraphQL view of every open item against the board, a full gather only where they disagree, plus every Pending item on the cron, and a capped pass on event runs. - A lease past its deadline is reclaimed whatever the label says, and a lease with a session on record and no lock is read as its lost unlock. - A refused fire sets `rec.pending` with a retry, so it reads Pending and is fired again instead of waiting on a drain that never comes. - `hold [until] <N days|weeks|months|date>`: a date, approval withdrawn, a bare hold spread across `holdUntil.defaultDays`, capped at 180 days. No recheck sessions and no `maxRehold`: the date passing hands the ticket back, and a blocker closing starts an approved ticket at once. `block on` keeps an approval; `block until <reason>` asks a session. `implement` on a held ticket clears the hold and starts it; on a blocked, unplanned goal it records the approval instead of refusing. - PRs are merged or closed: `hold` and `block` on a PR are refused. - A member's PR gets the loop: once ready, the critic, the other member asked to review (GitHub refuses the author, which failed on #318), fixes and auto-merge. Their drafts are left alone unless mentioned. - An approved PR with a thread waiting on a person reads Awaiting and names the thread once; an approved PR a session touched stays Pending, so a conflict fix no longer re-asks for review (#328, approved 3x). Past its due, mergeability GitHub still calls UNKNOWN is resolved, not read as clean. Not separately revertable: the derived Status replaces the label writes in every row of decide.mjs, so this lands and reverts as one commit. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(loop): skills read a derived Status, and a base merge is pushed only with work The skills move with the dispatcher (5.0.0, so an installed plugin picks them up): - Labels and Status: start-run's "never write state" list, format-ticket, run-audit, finalize-pr, audit-deps, implement-ticket, improve-loop and implement-roadmap/cross-repo say Status is derived and name only the two labels left, `bot:working` and `proposal`. - write-ticket and revise-roadmap lose the `recheck` mode. `block` turns `block until <reason>` into a `Blocked by:` line or a Hold Until date with the reason written into the body, since nothing rechecks it later. - A base merge opens address-review (as before), fix-ci and a continued implement, and is pushed only with the work or when it resolved a conflict. address-review used to push a clean merge alone, which re-ran CI and put approved PRs back on the reviewer's list for nothing. - resolve-conflicts asks about a hunk only as a question thread, which is the one thing that makes an approved PR the person's turn again (the false re-ask on sydevs/SahajAtlasWeb#328). "You cannot push to a human's PR" becomes what is true: a session pushes only to `claude/*`, so a member's PR on a `claude/*` branch is pushed to like the bot's. `rule-delta.mjs --base origin/main workflow/skills`: 88 → 88 directives, none removed, one reworded (start-run's state list). Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(loop): the Status lifecycle in README, why.md and routine-setup README: the Status table replaces the label table, the verbs table gains `hold` and the reshaped `block`, and member PRs are described. routine-setup: three labels left, the new Status options and colours, the board views moved to Status filters, and `gh workflow run workflow-state.yml` as the on-demand full reconcile. why.md: a new "Status lifecycle" group with an entry per rule above, and the rules it replaces moved under Retired with their Replaced-by lines. The citation of #3, closed on 2026-10-27, is dropped. Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(rollback): migrate-to-lifecycle.mjs, the one-time move to the derived Status Four phases, dry run unless --apply: `records` writes `approved` into the status comment of every issue the old model approved (Status Approved, `pendingImplement`, `approveOnPlan`, or a goal that was planned), and a `handback` on an approved ticket still carrying `awaiting`, so it reads Awaiting rather than firing a build; `board` replaces the Status options (Done keeps its id and its items); `labels` deletes the three labels in every repo; `reconcile` dispatches each repo's workflow-state.yml. `records` runs before the merge: the old dispatcher keeps fields it does not know when it saves a record. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(dispatcher): no pass but a person's verb approves a goal's children The migration records `approved` on every goal that was planned, so the reconcile pass, which starts an approved free ticket, would have reached sydevs/SahajCloud#902, #941, #897 and sydevs/SahajAtlasWeb#266 and approved their unstarted children: builds nobody asked for. A goal is now only ever planned by a pass (an approved goal whose blocker closed), never has its children approved; reconcile leaves goals alone. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
overflow: hiddenis still a scroll container, so focus scrolled the drawer panel — and the frames holding it — off-screen with no way back. Every such box now clips, in every drawer variant.DrawerStack's map-less container and the compact card's dialog are the same defect; the dialog was measured scrolling 528px.story-harness.tsxhand-copies the panel's chrome, so all ten view stories previewed the unrepaired box until this branch clipped it too.Change outline
Behaviour — what the browser was allowed to scroll
The fix is one property on every box the fixed interface resolves against. Two independent mechanisms fill those boxes with scrollable overflow, which is why the panel and its containers both needed it.
Components — where the property lives
Files — what holds the rule
Preview
Branch preview: https://claude-fix-326-drawer-scroll.sahajatlas.pages.dev — note it lags this push by a build.
/gb/south-east/brighton/163/register/gb/south-east/brighton/163pnpm build && pnpm review:embed, then/__review/contained-map.html?atlas=/gb/south-east/brighton/163at 390×844 (card dialog) and at 900×900 (MapFrame)Test results
test:run— 154 files, 1814 tests, on the 9c133c3 base mergeassert:css(noremescaped, 750var()refs resolved) andpnpm size— standalone 310.6/318 KiB, loader 2.8/3.5!overflow-hiddenin thefilledcompound (8 of 16 red) and againstlg:overflow-autoon the left panel (4 red); the clearance pair against a barescroll-pb-28, against its removal, against the padding returning to the base slot, and against the class string being renamed out of reach.Manual verification
Driven with Playwright at 390×844. A reviewer should still confirm on a real phone, where the soft keyboard shrinks the visual viewport in a way headless Chromium does not reproduce.
/gb/south-east/brighton/163/register, drag the sheet to the top snap, expand Show more dates, and focus each of the 14 fields. Before:[data-vaul-drawer]reachedscrollTop: 762. After:scrollTop/scrollLeft0 throughout./gb/south-east/brighton/163, with the sheet at its 544px snap: the body's bottom edge sits at y=1363 — 519px below the viewport — while the sticky bar paints at y=754–819. It staysautoon the ten bodies with no bar. ⚠ The656pxand137pxcomputed here were measured against the 112px constant, which fix(ui): sticky Register bar floats and covers the event actions #320 replaced with the bar's own published height (65px to 197.5px, as fix(ui): sticky Register bar floats and covers the event actions #320 measured it). Neither value has been re-measured on this head.Notes for reviewer
No thread is open. The
--sy-footer-hquestion is settled — leave it as built. #320 landed that mechanism onmainwhile this branch was open, so the body slot spends the footer's published height for the CONTENT andEventView'spb-20is gone. The SCROLL clearance stays on that one body, spending the same height plus--sy-sheet-top, because a spacer cannot stop focus parking a field behind a viewport-pinned bar.What the review asked and what came of it:
EventView. Adopted (4bde402). The earlier refusal had its reason inverted:RegistrationViewrenders no sticky footer, so it has nothing at the bottom to clear, and ten bodies carried 112px to serve one. ⚠ Half superseded by fix(ui): sticky Register bar floats and covers the event actions #320: the CONTENT clearance is the body slot's spacer again, at the footer's published height, and only the SCROLL half is stillEventView's.--sy-sheet-topwhile the body's box runs on to the panel's bottom, so the padding carries the same offset.::afterfiller instead of clipping the panel. Declined, with evidence on the thread: vaul emits the filler only when nocontaineris passed (data-vaul-custom-container), so it is already absent in both framed configurations — measuredscrollHeight638 =clientHeight— and the dialog's 528px was measured in one of them. Deleting the rule would cover one box of four, andstyles/vaul.css's own refresh procedure would drop the deletion silently.Modal.tsx. Declined, unchanged. Its-translate-x-1/2makes it a containing block for fixed descendants, but it has none:ReportIssueForm'sSelectportals out throughoverlayContainer(), and the dialog is a boundedmax-hflex column.Still true, and worth a second opinion:
MapFrameand the map-less container were not measured overflowing. They are the structural twins of the box that was, so they carry the invariant rather than a repair, and both comments say so.Reported on this PR by another session, measured there and not re-measured here: this branch also fixes #319 (Month button y −70 → 53 on a direct
/calendarload at 390×844).Detail
Why the panel overflows at all.
styles/vaul.cssgives every panel a::afterbackground filler attop: 100%; height: 200%— about 1688px below an 844px sheet, which matches the 1686px of scrollable overflow measured on the live panel. No view creates it and none can decline it, so the clip belongs on the atom rather than on any caller.Why the clip is held per variant.
filledand the wide left panel are nothing but!importantoverrides of thecontentslot, and tailwind-merge does not strip a baseoverflow-clipacross importance — so a compound adding!overflow-hiddenleaves the panel carrying both classes while a base-only assertion stays green. The spec mounts all sixteen direction × mode × wide combinations and refuses any overflow token that scrolls, at any importance, prefix or axis.Why the specs assert classes, not
scrollTop. jsdom has no layout — every box is 0×0 andscrollTopnever leaves 0 — and no Tailwind sheet is loaded, sogetComputedStyle().overflowreads empty. AscrollTop === 0assertion would pass against the defect it was written for, whichdocs/testing.mdnames as the worst kind of green. Thecalc()padding was therefore checked where a class can lie: in the built bundle, computed in Chrome.clipis nothiddenin every respect — it establishes no block formatting context. Moot for all four boxes: the panel is a flex container, andcontain: layoutalready gives the two frames an independent formatting context.Rejected: a closed list over every
overflow-hiddeninsrc/. There is no single property to scan for — these boxes take the containing block throughcontain: layout, a transform, orposition: relative— but a blanket ban would flagSelect,Combobox,CalendarViewand the collapsed card, all of which are correctly hidden. Naming the boxes and keeping the[contain:layout]scan beside them catches the realistic next case without that noise.Browser work ran against the live SahajCloud API with the read-only key already in this environment. Nothing was written.
Closes #326
🤖 Generated with Claude Code
https://claude.ai/code/session_01HaLJxGqK9T5rxtF8cGX4ZW (revision) · https://claude.ai/code/session_01RA2xQvrinJWAUkdn1HWefd (implementation)