Unfortunately I think this is just expected behavior for React Apps on IOS. Since Ignition Perspective uses React this may just be the behavior to expect. The Github issue below discusses this issue for React. It does have a workaround fix that with some decent effort could probably be implemented into Ignition as well.
opened 10:01AM - 13 Dec 19 UTC
closed 05:12PM - 13 Dec 19 UTC
<!--
Note: if the issue is about documentation or the website, please file it… at:
https://github.com/reactjs/reactjs.org/issues/new
-->
**Do you want to request a *feature* or report a *bug*?**
bug
**What is the current behavior?**
onContextMenu event does not get fired on iOS 13.1 when long-pressing on an iPhone.
https://codesandbox.io/s/awesome-wilson-t1yy3
Clicking the gray rectangle should print 'onClick', which it does on all platforms I tested.
Long-pressing/right-clicking on the gray rectangle should print 'onContextMenu', which it does on windows and android, but not on iOS. Tested on both chrome and safari.
**What is the expected behavior?**
The expected behaviour on iOS is that long-pressing the gray rectangle should print 'onContextMenu'.
**Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?**
React 16.12.0
iOS 13.1
1 Like