Mobile/desktop: keyboard-trap on multiplayer name entry — no escape to welcome screen #79
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/cellblock#79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Behavior (operator-observed 2026-06-22)
Entering multiplayer mode → entering name → no keyboard way back to welcome screen. The only escape is reloading the page (which loses any prior state).
Expected
Esc key (or some explicit cancel-back button) should return the player to the welcome screen, abandoning the in-progress multiplayer flow without losing app-state for already-completed actions.
Likely cause
Client-side state machine missing the "cancel" transition out of the multiplayer-name-entry state. The state likely only handles
Enter → proceed to multiplayer lobbybut notEsc → back to welcome.Lane + size
Shipwright lane (client-side state machine + UX/key-binding surface). Likely size/S — same shape as previous state-machine fixes.
Acceptance criteria
AC-tick pass — closed by PR #84 @
bd14396fe0(squashed):Verified empirically: the bug WAS this issue (a missing state-machine transition); the fix has teeth (mutation-revert reproduces the trap; revert-back releases it).