On magpie web at phone width the pop may grow to the window's height
(body.web .pop { max-height: calc(100% - 16px) }), more than the 420 the
model picker is placed by. Opened upward from a row low in the page, its
top went above the window (y = -241 at 420x760 in zh): the filter and the
first rows were out of reach. placePop now holds the pop to the room it
chose, above the button or below it (holdPop), and the list scrolls.
Found while testing abledo's Claude Code picker at 420.
Run:
- pop-phone-room.test.cjs (new): chromium + webkit, 1100 and 420,
en/zh/zh-TW/ja/de, 22/22. On main's app.js all five languages at 420
fail with the pop at y -223/-241. Run 4 at once in webkit, 4/4 green.
- The 45 GUI tests that open #pop, both engines: green but
claude-picker-magpie-first (the next commit's, red until it) and
searcher-pick, which failed chromium zh twice at line 304
(scrollIntoViewIfNeeded after page.reload: element not attached),
passed 2 of 2 alone with this change and 1 of 1 on main's app.js; no
pop is open at that step.
Not tried: a real phone; the desktop app (its picker's max-height already
equals the h it is placed by, so nothing changes there).