{ "id": "93015", "key": "TIMOB-9476", "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": "15108", "description": "2013 Sprint 10", "name": "2013 Sprint 10", "archived": true, "released": true, "releaseDate": "2013-05-20" } ], "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-05-07T07:18:09.000+0000", "created": "2012-06-08T17:06:20.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-17T18:46:57.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": "If you add scrollable views to a scroll view, it stops the behavior of scroll-to-top by tapping on the status bar. In a scroll view without adding a scrollable view if you tap the status bar on the ios, the scroll view will scroll to the top. \r\nh4. Repo Steps\r\n1. Run the below code in your app.js\r\n2. Scroll the screen down and tap on the status bar. The screen won't scroll-to-top.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\nvar scrollView = Titanium.UI.createScrollView({\r\n contentWidth:'auto',\r\n contentHeight:'auto',\r\n top:0,\r\n showVerticalScrollIndicator:true,\r\n showHorizontalScrollIndicator:true,\r\n backgroundColor: 'yellow'\r\n});\r\nvar view = Ti.UI.createView({\r\n backgroundColor:'#336699',\r\n borderRadius:10,\r\n width:300,\r\n height:2000,\r\n top:10\r\n});\r\nscrollView.add(view);\r\nvar view1 = Ti.UI.createView({ backgroundColor:'#123' });\r\nvar view2 = Ti.UI.createView({ backgroundColor:'#246' });\r\nvar view3 = Ti.UI.createView({ backgroundColor:'#48b' });\r\n\r\nvar scrollableView = Ti.UI.createScrollableView({\r\n views:[view1,view2,view3],\r\n showPagingControl:true,\r\n width:200,\r\n height: 100,\r\n top: 800\r\n});\r\nview.add(scrollableView);\r\nwin.add(scrollView);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Adding scrollable views to a scroll view stops the behavior of scroll-to-top by tapping on the status bar ", "creator": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS5 \r\niPhone 4\r\nTi SDK 2.0.1.GA2", "comment": { "comments": [ { "id": "250522", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "cannot reproduce\r\n\r\nTested with\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0\r\niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-07T07:18:09.000+0000", "updated": "2013-05-07T07:18:09.000+0000" }, { "id": "413600", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:46:57.000+0000", "updated": "2017-03-17T18:46:57.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }