Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9789] Android: Tableview: TableviewRow with less height continues to show highlighted row border after touchend

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 2.1.0, Release 3.1.0
Fix Version/sn/a
ComponentsAndroid
Labelsapi, qe-and060112
ReporterSatyam Sekhri
AssigneeUnknown
Created2012-06-25T05:44:57.000+0000
Updated2018-02-28T20:03:44.000+0000

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();

Comments

  1. Shameer Jan 2013-02-28

    The problem can reproduce with release 3.0.2 and master release 3.1.0 Titanium Studio, build: 2.1.2.201208301612 Titanium SDK version: 3.1.0 (28/02/2013) Titanium SDK version: 3.0.2 (28/02/2013) Device: Samsung galaxy s duos Android version: 4.0.4

JSON Source