cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart Parmenter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-5711) Keyboard plugin w/ shrinkView breaks when switching between different keyboards
Date Thu, 26 Dec 2013 18:19:53 GMT
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)

Mime
View raw message