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

iOS7: SectionIndexTitles overlaps SearchBar column in TableView

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: Release 3.1.3
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:

      iOS 7, TiSDK 3.1.3

      Description

      SearchBar in a tableView overlaps with the index column in iOS7.

      Here is the test case :

      var win = Ti.UI.createWindow();
       
      var searchBar = Ti.UI.createSearchBar();
      var indexData = [{title: 'A', index: 0}, {title: 'C', index: 3},{title: 'F', index: 16},{title: 'G', index: 18}];
       
      var table = Ti.UI.createTableView({
          search:searchBar,
          });
       
      var _data = [
      {title:'Action Plan',header : 'A'},
      {title:'Administrative'},
      {title:'Analyze Performance'},
      {title:'CCA Approval/Planning',header : 'C'},
      {title:'Code Upgrade'},
      {title:'Collaboration'},
      {title:'Collaboration Initiated'},
      {title:'Conf Call'},
      {title:'Configuration/Bin Building'},
      {title:'Consult'},
      {title:'Corrective Maintenance'},
      {title:'Customer Contacted'},
      {title:'Data Migration'},
      {title:'Disk Cloning Appliance'},
      {title:'Dispatch Avoided'},
      {title:'Escalation'},
      {title:'FCO Notes',header : 'F'},
      {title:'Failure Analysis'},
      {title:'Field Service Update'},
      {title:'Geo Turnover',header : 'G'},
      {title:'Health Check'},
      {title:'Incorrect Customer Info'},
      {title:'Initial Response'},
      {title:'Install/Upgrade'},
      {title:'Next Action'},
      {title:'Set Update'},
      {title:'Update From Customer'}
      ];
      var arr = [];
       
      for(var i=0; i < _data.length; i++){
          var row = Ti.UI.createTableViewRow({title:_data[i].title,header:_data[i].header});
          arr.push(row);
      }
      table.setData(arr);
      table.index=indexData;
       
      win.add(table);
      win.open();
      
      

      Please find attachment of the screenshots of Titanium and native behavior in iOS7.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ingo Ingo Muschenetz
                Reporter:
                mpathak Meenakshi Pathak
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration