{ "id": "170656", "key": "TIMOB-25622", "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": "20060", "description": "", "name": "Release 7.0.2", "archived": false, "released": true, "releaseDate": "2018-02-09" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-01-15T10:11:18.000+0000", "created": "2017-12-20T00:52:31.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ios", "merge-7.0.2", "safearea" ], "versions": [ { "id": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "issuelinks": [ { "id": "56253", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "170730", "key": "TIMOB-25646", "fields": { "summary": "iOS: After Listview Search overlay not appearing", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-01-23T22:10:42.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": "The autoAdjustScrollViewInsets has stopped working when extendEdges: [Ti.UI.EXTEND_EDGE_TOP] is applied. This was working up until Ti SDK 6.2.2 and it stopped working from Ti SDK 6.3.0.GA onwards. It is still not fixed in the current SDK.\r\n\r\nThis affects both ListView and TableView components.\r\n\r\nRefer to the test case below. The content is not correctly offset underneath the titlebar. The only workaround for the moment seems to be creating a 64dp tall 'spacer' view at the top of the list content.\r\n\r\nHans mentioned a possibly related fix in AC-5301 (TIMOB-25332) however that fix does not resolve the test case below.\r\n\r\nHere is my sample code:\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n title: \"Listview test\",\r\n barColor: \"#cc0000\",\r\n autoAdjustScrollViewInsets: true,\r\n  extendEdges: [Ti.UI.EXTEND_EDGE_TOP],\r\n titleAttributes: {\r\n color: '#fff'\r\n },\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar list = Ti.UI.createListView({\r\n sections: [Ti.UI.createListSection({\r\n items: [{ properties: { title: 'Test 1' } }, { properties: { title: 'Test 2' } }, { properties: { title: 'Test 3' } }, { properties: { title: 'Test 4' } }, { properties: { title: 'Test 5' } }, { properties: { title: 'Test 6' } }]\r\n })]\r\n});\r\n\r\nwin.add(list);\r\n\r\nvar navwin = Titanium.UI.iOS.createNavigationWindow({\r\n window: win\r\n});\r\nnavwin.open();\r\n{code}\r\n", "attachment": [ { "id": "63838", "filename": "Screen Shot 2017-12-20 at 11.50.08 am.png", "author": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-20T00:51:22.000+0000", "size": 215761, "mimeType": "image/png" } ], "flagged": false, "summary": "autoAdjustScrollViewInsets fails with extendEdges: [Ti.UI.EXTEND_EDGE_TOP]", "creator": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Xcode 9.2\r\nmacOS High Sierra\r\nSDK: faulty behavior present on both 6.3.0.GA and 7.0.0.GA, works correctly on 6.2.2.GA", "closedSprints": [ { "id": 985, "state": "closed", "name": "2018 Sprint 01 SDK", "startDate": "2017-12-31T16:58:54.631Z", "endDate": "2018-01-14T16:58:00.000Z", "completeDate": "2018-01-17T22:44:27.028Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "432742", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is raised due to TIMOB-25334. There was a bug in iOS 11.0 , due to which this fix was applied. In iOS 11.2 this issue looks fixed from apple. So we have to revert it.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-04T09:35:25.000+0000", "updated": "2018-01-04T09:35:25.000+0000" }, { "id": "433129", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test case for TableView :\r\n\r\n{code:java}\r\n var win = Ti.UI.createWindow({\r\n title: \"Tableview test\",\r\n barColor: \"#cc0000\",\r\n autoAdjustScrollViewInsets: true,\r\n extendEdges: [Ti.UI.EXTEND_EDGE_TOP],\r\n titleAttributes: {\r\n color: '#fff'\r\n },\r\n backgroundColor: '#fff'\r\n });\r\n var data = [{ title: 'Test 1' }, { title: 'Test 2' }, { title: 'Test 3' }, { title: 'Test 4' } ];\r\n var tableView = Ti.UI.createTableView({data : data});\r\n win.add(tableView);\r\n var navwin = Titanium.UI.iOS.createNavigationWindow({\r\n window: win\r\n });\r\n navwin.open();\r\n{code}", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-14T02:48:59.000+0000", "updated": "2018-01-14T02:48:59.000+0000" }, { "id": "433139", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is fixed in TIMOB-25646.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-15T03:53:01.000+0000", "updated": "2018-01-15T03:53:13.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }