oficina / slides Public

Editor: Tab on the stage passes a box that is not drawn

In Phone view a box hidden on a phone is not drawn, and Tab from the
canvas overlay called focus() on it, which did nothing: Tab stuck on
the box before it. The overlay's Tab now walks the boxes drawn in the
current view (and the selected one, to go on from). A hidden box is
still reached through View, Outline.

On a canvas slide slides.css's phone-hidden rule loses to the canvas
box's own display rule, so the browser test puts the intended rule
back; that stylesheet is the renderer's and is left for its owner.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev f7128f7d5c0632dfa01ce3e7893a7e4a20666db5 parent 6eb0eca
5 files changed, +91 −9
  • fixtures/stage-focus.mjs +9 −1
  • fixtures/stage-focus.test.mjs +30 −0
  • internal/slides/credits/assets.json +1 −1
  • internal/slides/static/{editor.cd9b28d8d59cd0aa.js => editor.90c13b3e54239115.js} +7 −7
  • internal/slidestest/browser_quieter_fixes_test.go +44 −0
fixtures/stage-focus.mjs

Loading diff…

fixtures/stage-focus.test.mjs

Loading diff…

internal/slides/credits/assets.json

Loading diff…

internal/slides/static/{editor.cd9b28d8d59cd0aa.js => editor.90c13b3e54239115.js}

Loading diff…

internal/slidestest/browser_quieter_fixes_test.go

Loading diff…