{ "id": "102991", "key": "TIMOB-11331", "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": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-02-27T09:01:52.000+0000", "created": "2012-10-09T21:43:28.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_scrollview", "parity", "qe-and100112", "qe-and214", "qe-review", "qe-testadded" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "21846", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "89405", "key": "TIMOB-8499", "fields": { "summary": "iOS: ScrollView scrollToBottom exists on Android", "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": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:33.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Description:\r\n\"ScrollToBottom\" method doesn't work on Android. Touching anywhere on the screen should scroll to the bottom, as it does on iOS.\r\n\r\nNot a regression, the behavior exists as far back as 2.0.0 at least.\r\n\r\nSteps:\r\n1. Run the following code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\nvar scroll = Ti.UI.createScrollView({\r\n contentHeight: '2000',\r\n scrollType: 'vertical'\r\n});\r\nscroll.add(Ti.UI.createLabel({\r\n text: 'Welcome to the top! Touch anywhere to scroll to bottom.', textAlign: 'center',\r\n color: '#000',\r\n width: Ti.UI.SIZE, height: Ti.UI.SIZE,\r\n top: 0\r\n}));\r\nscroll.add(Ti.UI.createLabel({\r\n text: 'Welcome to the bottom!', textAlign: 'center',\r\n color: '#000',\r\n width: Ti.UI.SIZE, height: Ti.UI.SIZE,\r\n bottom: 0\r\n}));\r\nscroll.addEventListener('click', function (evt) {\r\n if (!scroll.scrollToBottom) {\r\n alert('Whoops! scrollToBottom() does not exist on this platform.');\r\n }\r\n else {\r\n scroll.scrollToBottom();\r\n }\r\n});\r\nwin.add(scroll);\r\nwin.open();\r\n{code}\r\n2. Touch anywhere on the screen to scroll to the bottom.\r\n\r\nExpected result:\r\nThe scroll view should scroll to the bottom\r\n\r\nActual result:\r\nNothing happens", "attachment": [], "flagged": false, "summary": "Android: ScrollView - \"ScrollToBottom\" method doesn't work on Android", "creator": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on:\r\nOS: Mac OS X Lion 10.7.4\r\nTitanium Studio, build: 3.0.0.201210090117\r\nTitanium SDK, build: 3.0.0.v20121009111437\r\nDevice: Samsung Galaxy III (4.0.4), Droid (2.2.3)", "comment": { "comments": [ { "id": "239976", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem cannot reproduce with release 3.0.2 and master release 3.1.0", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-27T09:01:52.000+0000", "updated": "2013-02-27T09:02:48.000+0000" }, { "id": "240013", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce.\r\nTested with:\r\nTitanium Studio, build: 3.0.2.201302191606\r\nTitanium SDK, build: 3.0.2.GA\r\nDevices:\r\nAndroid 2.2 Emulator\r\nNexus 7 Android version 4.2\r\nGalaxyS3 Android version 4.0.4\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-27T18:04:03.000+0000", "updated": "2013-02-27T18:42:31.000+0000" }, { "id": "240746", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as Cannot reproduce.\nTested with:\nTitanium Studio, build: 3.0.2.201302191606\nTitanium SDK, build: 3.1.0.v20130303194855\nDevices:\nAndroid 2.2 Emulator\nNexus 7 Android version 4.2\nGalaxyS3 Android version 4.0.4", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-05T19:04:07.000+0000", "updated": "2013-03-05T19:04:07.000+0000" }, { "id": "280132", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "anvil test case added\nPR Link:\nhttps://github.com/appcelerator/titanium_mobile/pull/4958", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T06:15:51.000+0000", "updated": "2013-11-19T06:15:51.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }