Reuben Dunn created CB-11823:
--------------------------------
Summary: Configuration Option "SuppressesLongPressGesture" Breaks
iOS Simulator
Key: CB-11823
URL: https://issues.apache.org/jira/browse/CB-11823
Project: Apache Cordova
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: iOS
Affects Versions: 6.2.0
Environment: iOS 9.3 Simulator configured to run as an iPhone 6
Cordova CLI 6.2.0
Reporter: Reuben Dunn
A Cordova app will not properly respond to input in the iOS simulator if the
following option is set in config.xml:
{quote}
<preference name="SuppressesLongPressGesture" value="true" />
{quote}
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:
{quote}
Ignoring a longpress in order to suppress the magnifying glass.
{quote}
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]