You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Reuben Dunn (JIRA)" <ji...@apache.org> on 2016/09/08 05:21:20 UTC

[jira] [Created] (CB-11823) Configuration Option "SuppressesLongPressGesture" Breaks iOS Simulator

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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org