Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4795] iOS: Animate() in tableviewrow does not work

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2011-08-11T10:17:24.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sSprint 2011-32, Release 1.8.0
ComponentsiOS
Labelsanimation, apidoc, tablerow
ReporterAnirudh Nagesh
AssigneeReggie Seagraves
Created2011-07-26T14:31:45.000+0000
Updated2017-03-07T19:54:30.000+0000

Description

Run the code below in app.js. Tableviewrow.animate() does not work.
var win = Ti.UI.createWindow({});

var table = Ti.UI.createTableView({});

var row = Ti.UI.createTableViewRow({
	width:250,
	height:40
});

var label = Ti.UI.createLabel({
	text:"TEST",
	left:20
});

row.add(label);


row.animate(Ti.UI.createAnimation({
		backgroundColor:"blue",
		duration:1000
}));


table.setData([row]);

win.add(table);

win.open();

Comments

  1. Stephen Tramer 2011-07-27

    Animations on tablerow would be poorly-defined. What's worse, do we trigger the animation when the row is added? When the row becomes visible? What happens if the row is visible, but then scrolls off the screen, causing the view to go away and be unloaded from memory? This bug may be rejected as a result.
  2. Reggie Seagraves 2011-08-09

    This is actually a documentation issue. TableViewRows are not necessarily views. As such, there should be no declaration of 'animate' for TableViewRows.
  3. Reggie Seagraves 2011-08-11

    Animate is not nor will it be supported for TableViewRows. Documentation has been updated, pull request pending.
  4. Don Thorp 2011-08-11

    An excludes entry was added to the documentation to remove animate. This feature will not be supported.
  5. Lee Morris 2017-03-07

    Closing ticket as it will not fix.

JSON Source