guardian / guardian/dotcom-rendering

[Bug]: iOS context menu appears when tapping crossword cells

Open
#14,064 0 comments 0 reactions 0 assignees View on GitHub
Bug crosswords Rota
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

### What happened?

A user reported that when tapping on a crossword cell on iOS, the native iOS context menu (e.g. Paste/Autofill) appears and obstructs the clue display.

This occurs most commonly when tapping a cell a second time (i.e. to switch clue direction) and apparently only began after the new crosswords rolled out.

The issue has been reproduced on iPhone and iPad devices; the context menu appears even when tapping quickly if the cell is already selected as part of both an across and down clue.

**User Details**

Device: iPhone 16 Pro
iOS: 18.4.1
Browser: Safari

Device: iPhone SE2020
iOS: 17.6.1
Browser: Chrome

**Findings by User Help**

- Able to reproduce on iPhone 16 Pro, iOS 18.4.1
- Context menu consistently appears on second tap of a cell, especially when the cell is part of both an across and down clue
- Less reproducible on first tap but one report of this received
- User feedback indicates that quicker taps can avoid the menu but can lead to selecting the wrong clue

A similar issue has also been reproduced on an iPad 6th Gen running iOS 17.7.8. The issue applies to both the website and Editions app.

**Acceptance Criteria**

- Tapping a crossword cell should not trigger the context menu; only long-press should trigger this
- Switching between across and down clues should by tapping a cell should not trigger the context menu
- Behaviour should be consistent across products where the player is used (i.e. the website and Editions app)

### Where is this happening?

Mobile web (Safari and Chrome on iOS) and Editions app (iOS)

### What is the impact?

Limited - the crossword remains usable but repeated pop up of the context menu can obstruct clues and frustrate users, especially when tapping to switch clue direction

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.