Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
6.2.0
-
None
-
iOS 9.3 Simulator configured to run as an iPhone 6
Cordova CLI 6.2.0
Description
A Cordova app will not properly respond to input in the iOS simulator if the following option is set in config.xml:
<preference name="SuppressesLongPressGesture" value="true" />
Although elements in the web view will still have their clicked CSS states applied, JS events related to clicking do not function. For instance, clicking on a button will not submit it, even though the button's CSS might change. In the system logs, I found this statement repeated several times:
Ignoring a longpress in order to suppress the magnifying glass.
My personal theory is that the simulator counts every click as a longpress and so the config flag suppresses every click, not just the long ones.