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

Android: textField in listView cannot be focused on Android 4.3

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: Release 3.2.0
    • Component/s: Android
    • Labels:
      None
    • Environment:

      TiSDK 3.2.0.v20131022050844
      Titanium Studio 3.2.0.201310220243
      CLI 3.2.0 (72f7426b4ee6c2d2883c666d5b7e03906a16012f branch)
      Mac OSX 10.8.5

      Android 4.3

      Description

      Problem description

      On Android 4.3 (Google Nexus Galaxy phone tested) is not possible to focus a textField placed inside a listView.

      Sample code:

      var sections = [];
             
      var fruitSection = Ti.UI.createListSection({ headerTitle: 'Fruits'});
      var fruitDataSet = [
          {properties: { title: 'Apple', searchableText:' Fruits Apple', itemId:'0 0'}},
          {properties: { title: 'Banana', searchableText:'Fruits Banana', itemId:'0 1'}}
      ];
      fruitSection.setItems(fruitDataSet);
      sections.push(fruitSection);
       
      var tf = Ti.UI.createTextField({
              color: '#336699',
              height: 100,
              top:10,
              bottom:10,
              left:10,
              right:10,
              font:{fontSize:20,fontWeight:'bold'},
              hintText: 'Search'
          });
       
      // tf.addEventListener('change',function(e){
      //         listView.searchText = e.value;
      //  });
       
       
      var listView = Ti.UI.createListView({
          top: 20,
          headerView: tf
      });
      listView.sections = sections;
       
       
      var win = Ti.UI.createWindow({
          backgroundColor:'black',
          windowSoftInputMode:Ti.UI.Android.SOFT_INPUT_ADJUST_PAN
      });
       
      win.add(listView);
       
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ingo Ingo Muschenetz
                Reporter:
                fcasali Federico Casali
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code