{ "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\n

This script works in the 1.3.2-RC1 and before.

\r\n

Test 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
{html}", "attachment": [], "flagged": false, "summary": "iOS: ScrollView after animation on iPhone", "creator": { "name": "wallneradam", "key": "wallneradam", "displayName": "wallneradam", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wallneradam", "key": "wallneradam", "displayName": "wallneradam", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "125077", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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?

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:46:41.000+0000", "updated": "2011-04-15T02:46:41.000+0000" }, { "id": "209363", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Valid in 2.2.0.f9e938d.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-25T12:20:58.000+0000", "updated": "2012-07-25T12:20:58.000+0000" }, { "id": "214217", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested on the iOS simulator using TiSDK 2.2.0v20120810194112, unable to reproduce the issue. Commenting/uncommenting the lines makes the app behave the same.\r\n\r\nIssue fixed, ticket closed.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-08-13T16:24:47.000+0000", "updated": "2012-08-13T16:24:47.000+0000" }, { "id": "215033", "author": { "name": "etcarev", "key": "etcarev", "displayName": "Evgenii Tcarev", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with:\r\nTitanium Studio, build: 2.1.1.201207271312\r\nSDK version: 2.2.0.v20120817115712\r\nSDK version: 2.1.2.v20120816171609\r\n\r\nDevices:\r\niPhone4s (5.0.1)", "updateAuthor": { "name": "etcarev", "key": "etcarev", "displayName": "Evgenii Tcarev", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-17T16:25:14.000+0000", "updated": "2012-08-17T16:25:14.000+0000" }, { "id": "258699", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-20T08:57:32.000+0000", "updated": "2013-06-20T08:57:32.000+0000" }, { "id": "258700", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with: \r\nSDK:3.1.2.v20130619101604\r\nAppcelerator Studio: 3.1.1.201306131423\r\nOS: OSX 10.7.5\r\nDevice:iPad mini(v 6.0)\r\nXcode: 4.6", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-20T08:59:52.000+0000", "updated": "2013-06-20T08:59:52.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }