oficina / docs Public

web: the sheet's font and size pickers leave the keyboard down

Review 4 on #181. With the caret kept out of the document, a pick from
the font or size picker in the Format sheet left its filter box
focused, which on a phone keeps the on-screen keyboard up over the
sheet. The pick now blurs the box where refocus() says the caret stays
out. The chips row is marked data-rst-select-ceiling, so ui/select.js
opens the lists below it, inside the sheet, wherever it cannot anchor
them (it skips a ceiling that is not drawn, as on the desktop).

TestPickersInTheSheet picks Caladea and 18 from the sheet: each applies,
the list opens below its box and inside the sheet, and no text box is
left focused. It failed before this (the filter box kept focus).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 69db3c15ea25e60f28a97283945c55dc6f91eeff parent 7aeed92
4 files changed, +69 −14
  • fixtures/toolbar.mjs +9 −0
  • internal/docs/phone_sheet_browser_test.go +43 −0
  • internal/docs/static/{editor.a5538a783eb48652.js => editor.6e9033ae342b67cb.js} +12 −12
  • internal/docs/views/show.html +5 −2
fixtures/toolbar.mjs

Loading diff…

internal/docs/phone_sheet_browser_test.go

Loading diff…

internal/docs/static/{editor.a5538a783eb48652.js => editor.6e9033ae342b67cb.js}

Loading diff…

internal/docs/views/show.html

Loading diff…