1.8.1: typed cards in the lens escape room work in Chromium #8

Merged
oliver.maklott merged 1 commit from lens-typed-cards into main 2026-10-31 14:45:53 +01:00

Typing a card's bits did nothing in Chrome and Edge: the view used a <form> with requestSubmit(), and game frames are sandboxed without allow-forms, so Chromium blocks the submission and never fires submit. WebKit allows it, so it worked on iPads. Found while building Geheimschrift's Tresor (GS10), which had the same code.

  • The input now brings the card on Enter, the button calls the same function directly.

  • Game logic unchanged, so the game version stays 1.0.0 (old logs replay the same).

  • Checked in pack preview: two cards typed (button and Enter) in Chromium and WebKit.

  • typecheck, 46 tests

🤖 Generated with Claude Code

Typing a card's bits did nothing in Chrome and Edge: the view used a `<form>` with `requestSubmit()`, and game frames are sandboxed without `allow-forms`, so Chromium blocks the submission and never fires `submit`. WebKit allows it, so it worked on iPads. Found while building Geheimschrift's Tresor (GS10), which had the same code. - The input now brings the card on Enter, the button calls the same function directly. - Game logic unchanged, so the game version stays 1.0.0 (old logs replay the same). - Checked in `pack preview`: two cards typed (button and Enter) in Chromium and WebKit. - [x] typecheck, 46 tests 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1.8.1: lens escape room – typed cards reach the table in Chromium (no form: the game frame has no allow-forms, Chromium never fired submit)
All checks were successful
pack / pack (pull_request) Successful in 10s
pack / pack (push) Successful in 9s
fa03372ab7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4gDLtYkgEdqMMZTFBZ
oliver.maklott deleted branch lens-typed-cards 2026-10-31 14:45:53 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aivopod-challenges/Same-Bits!8
No description provided.