[ContextMenu] iOS and iPadOS touch support
See original GitHub issueBug report
I’m not sure of the right way to classify this issue: is it a bug report, feature request, or discussion? The contextmenu
event doesn’t fire on iOS and iPadOS when using touch input (it does on iPad OS when using a mouse), but my general belief is that all components should work cross browser and cross device (latest versions only) even if some browser and device specific workarounds are required.
Current Behavior
The Radix context menu never appears on iOS and iPadOS when using touch input.
Expected behavior
To be able to access the Radix context menu on iOS and iPadOS when using touch input.
Reproducible example
Use the doc page demos on an iOS or iPadOS device: https://radix-ui.com/primitives/docs/components/context-menu
Suggested solution
Android fires the contextmenu
event on long press, so maybe implement a long press trigger on iOS and iPadOS?
Your environment
Software | Name(s) | Version |
---|---|---|
Radix Package(s) | Context Menu | v0.0.19 |
React | n/a | v17 |
Operating System | iOS and iPadOS | v14 |
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6
@rafgraph this has now been released.
Thanks @benoitgrelard, that was quick!!