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

iOS: animating the textfield which is added to a tableview causes the keyboard to flicker

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.5.0
    • Fix Version/s: Release 3.5.0, Release 4.0.0
    • Component/s: iOS
    • Environment:

      Test Environment:
      Appc-Studio: 3.4.1.201410281743
      Titanium SDK: 3.5.0.v20141202100219
      Titanium CLI: 3.4.1
      Alloy : 1.5.1 GA
      OS: Mac OSX 10.10
      Xcode: 6.1
      Device: iphone 5s (iOS8.1)

    • Sprint:
      2014 Sprint 24 SDK

      Description

      When a textfield is added to a tableview and when the height of the textfield is animated upon focus, the keyboard appears and immediately disappears. This would happen if you click on the textfield about 2-3 times and clicking/focusing the textfield several times would cause the keyboard to flicker.

      This is a regression as the keyboard appears properly with SDK 3.4.1 and it does not flicker if the textfield is focused continuously. However the error message indicated in step 2 under actual results is still reproducible in 3.4.1

      Steps to reproduce:
      1. Run the attached app.js
      2. focus on the textfield
      3. focus on the textfield several times continuously

      Actual Results:
      2. Following error message is displayed:

       
      [ERROR] :  focus 30
      [ERROR] :  {
      [ERROR] :      bubbles = 0;
      [ERROR] :      cancelBubble = 0;
      [ERROR] :      source = "[object TiUITextField]";
      [ERROR] :      type = focus;
      [ERROR] :      value = "";
      [ERROR] :  }
       
      
      

      and keyboard disappears immediately
      3. Keyboard flickers.

      Expected Results:
      2. No error message and keyboard should stay unless 'return' key is pressed.
      3. Keyboard should not flicker

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                vchidambaram Visalakshi Chidambaram
                Reviewer:
                Jon Alter
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration