Dropdowns clip inside tables (accounts kebab) — make popup menus unclippable globally; owner-column chips miss the profile picture #759

Closed
opened 2026-09-26 00:39:26 +00:00 by Cordy · 0 comments
Owner

Dogfood findings on v0.6.281.

1. Kebab menu clips inside the Local/Directory accounts tables. Same failure class as #747 (tag tooltips clipped by overflow cells, fixed by making the tipbox a position:fixed singleton). The account kebab reuses the .sfmenu pattern — position:absolute inside the row — so the table context clips it.

Global fix, not a spot fix: a shared popFix(anchor, menuEl) helper that appends the menu to document.body with position:fixed, placed from the anchor's getBoundingClientRect (right-aligned, below; flips above when it would leave the viewport), closed on outside click and on scroll. Migrate every row-anchored .sfmenu: the accounts kebab AND the file-list row kebab (openRowMenu) so no table can ever clip a menu. The search-filter pill menu stays if its container cannot clip (audit in the scout).

2. Owner-column chips don't show profile pictures. The file list's owner cell renders its own initials chip (separate builder from shareAvatar), so #757's layer never reached it. Apply applyAvatar to the owner chip — same 404-falls-back-to-initials rule, browser caches the one URL across rows.

Dogfood findings on v0.6.281. **1. Kebab menu clips inside the Local/Directory accounts tables.** Same failure class as #747 (tag tooltips clipped by overflow cells, fixed by making the tipbox a `position:fixed` singleton). The account kebab reuses the `.sfmenu` pattern — `position:absolute` inside the row — so the table context clips it. Global fix, not a spot fix: a shared `popFix(anchor, menuEl)` helper that appends the menu to `document.body` with `position:fixed`, placed from the anchor's `getBoundingClientRect` (right-aligned, below; flips above when it would leave the viewport), closed on outside click and on scroll. Migrate every row-anchored `.sfmenu`: the accounts kebab AND the file-list row kebab (`openRowMenu`) so no table can ever clip a menu. The search-filter pill menu stays if its container cannot clip (audit in the scout). **2. Owner-column chips don't show profile pictures.** The file list's owner cell renders its own initials chip (separate builder from `shareAvatar`), so #757's layer never reached it. Apply `applyAvatar` to the owner chip — same 404-falls-back-to-initials rule, browser caches the one URL across rows.
Cordy closed this issue 2026-09-26 01:10:40 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#759
No description provided.