Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3611] iOS: TableViewRow backgroundGradient disappears when clicked and held

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Do
Resolution Date2020-01-09T19:02:29.000+0000
Affected Version/sRelease 2.0.1, Release 3.1.0, Release 3.2.0
Fix Version/sn/a
ComponentsiOS
Labelsreprod, supportTeam
ReporterPedro Enrique
AssigneeEric Merriman
Created2011-04-18T12:29:23.000+0000
Updated2020-01-09T19:02:29.000+0000

Description

The selectionStyle property of the tableViewRow is set to 'none' so that the row remains static in response to user touch. However, when clicked and hold on the row the background gradient disappears. A quick click does not trigger the behavior.
var win = Ti.UI.createWindow();
var table = Ti.UI.createTableView();
var row = Ti.UI.createTableViewRow({
	backgroundColor: '#F00',
	backgroundGradient: {
		type:'linear',
		colors:['#FFF','#000'],
		startPoint:{x:0,y:'0%'},
		endPoint:{x:0,y:'100%'}
	}, 
	selectionStyle: 'none',
	height: 100
});

table.appendRow(row);
win.add(table);
win.open();
Helpdesk Ticket: http://support.appcelerator.com/tickets/UGP-86972-985/homepage

Comments

  1. Dustin Hyde 2011-10-31

    Bug is still valid, occurs in: TiMOB: 1.8.0.v20111028154620 Studio: 1.0.6.201110251616 OS: Mac OS X Lion Devices tested on: iPhone 5.0, iPod 4.3.5, iPad 4.3.5 Note: When gradient disappeared, it was replaced by solid red. Gradient re-appeared on touch exit.
  2. Varun Joshi 2012-05-16

    Issue still exists.
  3. Shameer Jan 2013-05-08

    It works fine when comment out the line colors:['#FFF','#000'], and it seems that its expected behavior.
  4. Lee Morris 2017-06-09

    I have been able to reproduce this issue with the following environment; iPhone 7 (10.2) MacOS 10.11.6 (15G31) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170609091155 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131
  5. Alan Hutton 2020-01-09

    It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. Updating, or creating code may not reproduce the issue reported, or be a valid test case. If community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.

JSON Source