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

Android: Tableview: TableviewRow with less height continues to show highlighted row border after touchend

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 2.1.0, Release 3.1.0
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
    • Environment:

      Titanium Studio: 2.1.0.201206221045
      Titanium SDK: 2.1.0.v20120622174154
      Android Devices: LG P970 (V2.2), Android Tab (V3.2), Galaxy Nexus (V4.0.2)
      Runtime: V8

      Description

      The tableview row with height less than specific value (varies with device) continues to show the row border even after touch end. The border continues to show till another touch event or orientation change does not happen. Also lesser the height of the row, more thick is the border for that row shown

      Not a Regression. The issue also exists on 2.0.2

      Steps to Reproduce:
      1. Create an application with code below and launch the application
      2. Click on each row in the tableview

      Actual: Tableview row with less height continues to show row border after tapping.
      Expected: The row should be highlighted only till touch end does not happen.

      var win = Ti.UI.createWindow();
      win.backgroundColor = 'white';
       
      var table = Titanium.UI.createTableView({
      	top: 50
      });
      win.add(table);
       
      var row = Titanium.UI.createTableViewRow({
      	height:50
      }
      );
      var row1 = Titanium.UI.createTableViewRow(
      	{
      	height:15
      }
      );
      var row2 = Titanium.UI.createTableViewRow(
      	{
      	height:20
      }
      );
      var row3 = Titanium.UI.createTableViewRow(
      	{
      	height:25
      }
      );
      var row4 = Titanium.UI.createTableViewRow({
      	height:30
      }
      );
      var row5 = Titanium.UI.createTableViewRow({
      	height:40
      }
      );
       
      table.appendRow(row);
      table.appendRow(row1);
      table.appendRow(row2);
      table.appendRow(row3);
      table.appendRow(row4);
      table.appendRow(row5);
       
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ssekhri Satyam Sekhri
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Source Code