oficina / docs Public

Open toolbar lists down rather than under the title bar

With the keyboard over all but 70px below the toolbar, ui/select.js
found more room above the box than below, opened the list upward,
and estilo's sticky title bar (z-index 45, above [docs-chrome]'s 3)
was drawn over its first rows: "Body text" could not be seen or
picked (review on #95). The toolbar now marks that bar
data-rst-select-ceiling, so its height is not counted as room: the
list opens down there, and where the wrapped bar of a browser without
anchor positioning does leave room above, it stops at the bar.

The bar is estilo's markup, so the mark is set from the toolbar
script, through dom-writes' setAttr; the bundle is rebuilt.

pickers.mjs now scrolls every row of every list into view and
hit-tests it, and runs a keyboard leg for all three pickers at every
width. It failed before this commit in all three legs: at 390px the
upward Style list spanned 0..88 with three of four rows unreachable.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 1a57946e401297d1dd1ad6d71013ce57306b547a parent 3b819cf
3 files changed, +44 −33
  • fixtures/engines/pickers.mjs +23 −22
  • fixtures/toolbar.mjs +10 −0
  • internal/docs/static/{editor.284edd3ba52d6852.js => editor.d9bd3bf7d02667c6.js} +11 −11
fixtures/engines/pickers.mjs

Loading diff…

fixtures/toolbar.mjs

Loading diff…

internal/docs/static/{editor.284edd3ba52d6852.js => editor.d9bd3bf7d02667c6.js}

Loading diff…