You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/04/27 14:02:39 UTC

[GitHub] wtrocki opened a new pull request #364: CB-14039: Inputs type text don't work on iOS

wtrocki opened a new pull request #364:  CB-14039: Inputs type text don't work on iOS
URL: https://github.com/apache/cordova-ios/pull/364
 
 
   ## Expected Behavior
   
   The inputs are clickable and the user can write.
   
   ## Actual Behavior
   
   The inputs are not clickable and the user cannot write
   Note: Sometimes the application opens the keyboard, but it's really difficult to get.
   
   ## Steps to Reproduce
   
   Create a new project: phonegap create myApp
   Add some inputs type text in the HTML
   Run the application: phonegap run ios
   
   ## Result 
   
   Issue was related with `<preference name="Suppresses3DTouchGesture" value="true" />`
   This option was using extremely low value of minimumPressDuration that was suppressing onClick events etc. After experimenting on Iphone SE and Iphone 7 and simulators I found that values 0.15f do not interfere with onClick handlers. 
   Additionally supplying this option were flooding application log with not useful messages.
   
   ## Visualization of the issue and fix
   
   http://www.giphy.com/gifs/24FWgpvK4vqhN7oZnq
   
   ## Docs issue
   
   Additionally I found that documentation do not reflect that state of the code.
   Documentation states: 
   
   " If this setting is true, SuppressesLongPressGesture will effectively be true as well."
   
   Where in fact preferences are not connected and setting SuppressesLongPressGesture to false will mean that Suppresses3DTouchGesture value will be ignored.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org