Repository navigation
Phone: a long press or drag opens none of the browser's menus - #121
Merged
Merged
Conversation
On an iPhone a long hold or drag could bring up the browser's own bar
("Search with Firefox | Find in Page") over the game. The body turned
selection off, but only by inheritance, and iOS still runs its
long-press, loupe and menu gestures on a touch that starts on the
canvas.
- index.html: no selecting, no callout and no tap highlight on every
element; text fields, the Korki letter and links keep theirs
- noMenus.ts: no right-click or long-press menu and no selection start
outside those; a touch that starts on a play surface (the game, the
south door's find, the pot's game, the report drawing) keeps iOS's
gestures off; a selection that starts anyway is let go at once
- uiShowcase.ts: the kit showcase's text stays selectable
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ChefControl
enabled auto-merge (squash)
October 22, 2026 00:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On an iPhone, holding or dragging for a while could bring up the browser's own bar ("Search with Firefox | Find in Page") over the game. Selection was off only by way of the body, and iOS still runs its long-press, loupe and menu gestures on a touch that starts on the canvas.
Checked in Safari on the iOS Simulator (walking after a long hold, the gear button, a long press on the HUD and settings: no menu) and in a phone-sized browser (HUD text can't be selected, the report box still can). Tested by the owner on an iPhone over wifi.
Test:
test/noMenus.test.ts.🤖 Generated with Claude Code