Scenario

Touch events interfere with contenteditable focus on mobile

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.

mobile
Scenario ID
scenario-mobile-touch-behavior

Details

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.

This scenario has been observed in multiple environments with similar behavior.

References

Scenario flow

Visual view of how this scenario connects to its concrete cases and environments. Nodes can be dragged and clicked.

React Flow mini map

Variants

Each row is a concrete case for this scenario, with a dedicated document and playground.

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

Browser compatibility

This matrix shows which browser and OS combinations have documented cases for this scenario. Click on a cell to view the specific case.

Confirmed
Draft
No case documented

Cases

Open a case to see the detailed description and its dedicated playground.

Related Scenarios

Other scenarios that share similar tags or category.

Tags: mobile, focus

Input Events Fire on Focus/Blur in Chrome Android

In Chrome on Android, input events may fire when a contenteditable element gains or loses focus, even without content changes. This behavior can lead to unintended side effects in applications relying on input events for content modification detection.

1 case

Comments & Discussion

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