You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/01/02 21:27:50 UTC

[jira] [Updated] (CB-5711) Keyboard plugin w/ shrinkView breaks when switching between different keyboards

     [ https://issues.apache.org/jira/browse/CB-5711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-5711:
---------------------------------

    Component/s: Plugins

> 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, Plugins
>    Affects Versions: 3.2.0
>            Reporter: Stuart Parmenter
>              Labels: keyboard-plugin
>
> 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)