{ "id": "61839", "key": "TIMOB-1207", "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": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-20T08:59:52.000+0000", "created": "2011-04-15T02:46:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core", "module_scrollview", "qe-port", "qe-testadded" ], "versions": [ { "id": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "19870", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-06-20T08:59:52.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
I found a bug in the latest version from github. When I try to\r\nanimate to a scrollview or a view has a scrollview inside, the\r\nscrollview will not work.
\r\nThis script works in the 1.3.2-RC1 and before.
\r\nTest script:
\r\n\r\nvar w = Ti.UI.createWindow({});\r\n\r\nscrollview = Ti.UI.createScrollView({\r\n backgroundColor: \"#909090\",\r\n contentHeight: 500,\r\n top: 0\r\n});\r\n\r\nvar v;\r\nfor (var i=0; i<4; i++) {\r\n v = Ti.UI.createTextField({\r\n color: '#000',\r\n top: 150 + i * 40,\r\n width: 250,\r\n height: 40,\r\n hintText: 'textField' + i,\r\n borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n autocapitalization: Ti.UI.TEXT_AUTOCAPITALIZATION_NONE\r\n });\r\n scrollview.add(v);\r\n}\r\n\r\nw.open();\r\n\r\n// w.add(scrollview); // This would work\r\n\r\nw.animate({\r\n view: scrollview,\r\n transition: Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT \r\n}); // This doesn't work
\r\n
Animations should happen on window transitions, but.. this is\nstill weird. Has something to do with op order where the animation\noccurs before the window opens?