Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15001

iOS: keyboardframechanged does not fire

    Details

      Description

      keyboardframechanged event does not fire in case of iPad-Mini running iOS version 6.0.1.

      Sample code to test the issue:

      var win = Ti.UI.createWindow({
          backgroundColor:'#ffffff'
      });
       
      var txtArea = Ti.UI.createTextArea({
          borderWidth : 2,
          borderColor : '#bbb',
          borderRadius : 5,
          color : '#888',
          font : {
              fontSize : 12,
              fontWeight : 'bold'
          },
          textAlign : 'left',
          top : 10,
          left : 10,
          right : 10,
          suppressReturn : false
      });
       
      win.add(txtArea);
       
      Ti.App.addEventListener("keyboardframechanged", function(e) {
          alert(" keyboardFrame.height"+ e.keyboardFrame.height);  //console.log does not always work well.
          txtArea.setBottom(e.keyboardFrame.height);
      });
       
      win.addEventListener('focus', function(e) {
          txtArea.focus();
      });
       
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              anigam Ashish Nigam
              Reviewer:
              Sabil Rahim
            • Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-17307
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code