You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Stuart Parmenter (JIRA)" <ji...@apache.org> on 2013/12/26 19:19:53 UTC
[jira] [Created] (CB-5711) Keyboard plugin w/ shrinkView breaks
when switching between different keyboards
Stuart Parmenter created CB-5711:
------------------------------------
Summary: Keyboard plugin w/ shrinkView breaks when switching between different keyboards
Key: CB-5711
URL: https://issues.apache.org/jira/browse/CB-5711
Project: Apache Cordova
Issue Type: Bug
Components: iOS
Affects Versions: 3.2.0
Reporter: Stuart Parmenter
If you have an <input type="date"> followed by an <input type="text"> or an <input type="time"> they all show different keyboards and fire UIKeyboardWillShowNotification without firing UIKeyboardWillHideNotification.
This causes the shrink code to happen multiple times.
The easiest fix is to add a check in shrinkViewKeyboardWillShow:
if (self.keyboardIsVisible) {
return;
}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)