{ "id": "137417", "key": "TIMOB-19537", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2014-09-30T17:18:10.000+0000", "priority": null, "labels": [ "TCSupportTriage", "engTriage" ], "versions": [ { "id": "16919", "description": "Critical updates", "name": "Release 4.1.1", "archived": true, "released": true, "releaseDate": "2015-07-15" } ], "issuelinks": [], "assignee": null, "updated": "2019-12-06T22:07:52.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Expected behavior: The animation on the view should make the view appear to shrink to a height of 0.\r\n\r\nActual behavior: Expected behavior only happens for the last child view in a vertical layout view. All other views simply disappear with no animation.\r\n\r\nTest Case\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white',\r\n layout: 'vertical'\r\n});\r\n\r\nfor (var i = 0; i < 10; i++) {\r\n newRow = createRow();\r\n win.add(newRow);\r\n}\r\n\r\nfunction createRow() {\r\n var row = Ti.UI.createView({\r\n height: 45,\r\n width: Ti.UI.FILL,\r\n top: 1,\r\n backgroundColor: 'black'\r\n });\r\n row.addEventListener('click', function(e) {\r\n row.animate({\r\n height: 0,\r\n duration: 2000\r\n });\r\n });\r\n return row;\r\n}\r\n\r\nwin.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: Changing height of a view with animations not working", "creator": { "name": "dplunkett3", "key": "dplunkett3", "displayName": "Daniel Plunkett", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dplunkett3", "key": "dplunkett3", "displayName": "Daniel Plunkett", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.9.5\r\n Architecture = 64bit\r\n # CPUs = 2\r\n Memory = 8.0GB\r\n\r\nNode.js\r\n Node.js Version = 0.10.31\r\n npm Version = 1.4.23\r\n\r\nTitanium CLI\r\n CLI Version = 3.4.0-rc4\r\n node-appc Version = 0.2.14\r\n\r\nTitanium SDKs\r\n 3.4.0.v20140924140915\r\n\r\nXcode\r\n 6.0.1 (build 6A317) - Xcode default\r\n 5.1.1 (build 5B1008)\r\n\r\nOccurs on iOS simulator with iOS sdk 8.0", "comment": { "comments": [], "maxResults": 4, "total": 4, "startAt": 0 } } }