Case ce-0028-mobile-touch-focus · Scenario scenario-mobile-touch-behavior

Touch events interfere with contenteditable focus on mobile

OS: iOS Ubuntu 22.04 Device: Mobile Any Browser: Safari 120.0 Keyboard: System virtual keyboard Status: draft
mobile touch focus ios

Phenomenon

On iOS Safari, touch events (tap, long-press) on a contenteditable region may not properly focus the element. The virtual keyboard may not appear, or focus may be lost unexpectedly.

Reproduction example

  1. Open a contenteditable region on iOS Safari.
  2. Tap on the contenteditable area.
  3. Observe whether the element receives focus and the keyboard appears.
  4. Try long-pressing to select text.

Observed behavior

  • In iOS Safari, tapping may not focus the contenteditable.
  • The virtual keyboard may not appear.
  • Long-press for text selection may trigger browser context menu instead.
  • Focus may be lost when interacting with other page elements.

Expected behavior

  • Tapping should focus the contenteditable and show the virtual keyboard.
  • Long-press should allow text selection.
  • Focus should be maintained during normal editing operations.

Browser compatibility matrix

This matrix shows which browser and OS combinations have documented cases for this scenario. The current case is highlighted. Click on a cell to view other cases.

Current case
Confirmed
Draft
No case documented

All variants (detailed table)

Complete list of all cases for this scenario with full environment details.

Case OS Device Browser Keyboard Status
ce-0028-mobile-touch-focus iOS Ubuntu 22.04 Mobile Any Safari 120.0 System virtual keyboard draft
ce-0038-mobile-zoom-on-focus iOS Ubuntu 22.04 Mobile Any Safari 120.0 System virtual keyboard draft
ce-0046-mobile-double-tap-zoom iOS Ubuntu 22.04 Mobile Any Safari 120.0 System virtual keyboard draft
ce-0053-mobile-selection-handles-overlap Android Ubuntu 22.04 Mobile Any Chrome 120.0 System virtual keyboard draft

Playground for this case

Use the reported environment as a reference and record what happens in your environment while interacting with the editable area.

Reported environment
OS: iOS Ubuntu 22.04
Device: Mobile Any
Browser: Safari 120.0
Keyboard: System virtual keyboard
Your environment
Sample HTML:
Event log
Use this log together with the case description when filing or updating an issue.
0 events
Interact with the editable area to see events here.

Comments & Discussion

Have questions, suggestions, or want to share your experience? Join the discussion below.