{ "id": "170087", "key": "AC-5301", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-10-24T08:08:11.000+0000", "created": "2017-10-23T06:59:17.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-24T08:08:11.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "As you can see in the attached screenshot, there is an issue with a {{TableView}} that is inside a {{Window}} with {{extendEdges}} property set to: {{[Ti.UI.EXTEND_EDGE_TOP]}}.\r\n\r\nHere is my sample code:\r\n\r\n{code:javascript}\r\n var w = Ti.UI.createWindow({\r\n barImage: \"/template/transparent-nav-bar.png\",\r\n \tshadowImage: \"/template/transparent-nav-bar.png\",\r\n \ttranslucent: true,\r\n includeOpaqueBars: true,\r\n autoAdjustScrollViewInsets: true,\r\n \textendEdges: [Ti.UI.EXTEND_EDGE_TOP],\r\n backgroundColor: 'red'\r\n });\r\n\r\n var r = Ti.UI.createTableViewRow({\r\n height: 50,\r\n backgroundColor: \"white\",\r\n children: [Ti.UI.createLabel({\r\n text: \"Unique row\",\r\n left: 15,\r\n })]\r\n });\r\n\r\n var t = Ti.UI.createTableView({\r\n backgroundColor: 'lime',\r\n data: [r]\r\n });\r\n\r\n w.add(t);\r\n w.add(Ti.UI.createView({\r\n top: 0,\r\n right: 0,\r\n width: 100,\r\n height: 100,\r\n backgroundColor: 'purple'\r\n }));\r\n\r\n var nw = Ti.UI.iOS.createNavigationWindow({\r\n window: w\r\n });\r\n\r\n nw.open();\r\n{code}\r\n\r\nThe expected behavior is that the \"Unique row\" must start at the top of the screen like the purple square.\r\n\r\nEDIT: Tested on an iOS 10.3 simulator and everything is working fine. So it's an iOS 11 related issue.", "attachment": [ { "id": "63460", "filename": "Simulator Screen Shot - iPhone 5s - 2017-10-23 at 08.45.43.png", "author": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-23T06:53:09.000+0000", "size": 15005, "mimeType": "image/png" } ], "flagged": false, "summary": "TableView and Window.extendEdges issue", "creator": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Xcode 9.0.1\r\nmacOS High Sierra\r\nCLI 6.2.4\r\nSDK: behavior present on both 6.1.1.GA and 6.2.2.GA", "comment": { "comments": [ { "id": "429489", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolved as it's already fixed in 6.3.0, see TIMOB-25332 for related behavior-reports.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-24T08:08:11.000+0000", "updated": "2017-10-24T08:08:11.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }