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

Android: Textfield focus issue with multiple textfields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 7.0.0
    • Fix Version/s: Release 7.0.0
    • Component/s: Android
    • Environment:

      Description

      Steps to reproduce:

      1. Use the code below in your app.js:

      var win = Ti.UI.createWindow({backgroundColor : 'gray', layout: 'vertical'});
      var tf = Ti.UI.createTextField({
      	value: 'aSDAsdasDASDasdasDasdaS',
      	width: Ti.UI.SIZE
      });
       
      var tf1 = Ti.UI.createTextField({
      	top: 40,
      	value: 'aSDAsdasDASDasdasDasdaS',
      	width: Ti.UI.SIZE
      });
      win.add(tf);
      win.add(tf1);
      win.open();
      

      2. Build for android device/emulator.
      3. Let the app launch.
      4. You will see 2 textfields with value.
      5. Click on the 2nd textfield.

      Actual Result:

      1. Notice that the second textfield does not get the focus. You can see the cursor for a second & disappear.
      3. Clicking again on the 2nd textfield get the focus.
      2. Clicking on the first textfield gets the focus & the soft keyboard pops up.

      Expected Results:

      1. Each textfields should get the focus clicking the first time.

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              lchoudhary Lokesh Choudhary
              Reviewer:
              Maggie Chen
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code