Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5711

Keyboard plugin w/ shrinkView breaks when switching between different keyboards

    XMLWordPrintableJSON

Details

    Description

      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; }

      Attachments

        Activity

          People

            Unassigned Unassigned
            stuartparmenter Stuart Parmenter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: