[feat-023] Add-filter popover: dynamic side based on trigger position

↗ view on GitHub · Nick Whitehouse · 2026-05-07 · 515592d0

The earlier fix flipped the popover to right-0 always, which clipped
off the LEFT edge when the trigger was at the start of the row (the
common no-filters-yet case). Now measures the trigger's
getBoundingClientRect on open: if there's >= 320px of room to the
right of the trigger use left-0; otherwise right-0. Recomputed on
every open since the trigger moves as filters wrap.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Repository nwhitehouse/mike
Author Nick Whitehouse <nick.whitehouse@mccarthyfinch.com>
Authored
Parents c6c92bc7
Stats 1 file changed , +23 , -2
Part of Tabular review filtering + verified cell state

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-515592d0.md from inside the repo you want the change in.

⬇ Download capture-commit-515592d0.md