{ "id": "174853", "key": "TIMOB-27819", "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": null, "resolutiondate": null, "created": "2020-03-24T17:18:20.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "ios-13", "listsection", "listview" ], "versions": [ { "id": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" }, { "id": "20972", "description": "", "name": "Release 8.3.1", "archived": false, "released": true, "releaseDate": "2020-01-17" }, { "id": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" }, { "id": "21129", "name": "Release 9.2.2", "archived": false, "released": true, "releaseDate": "2020-10-29" } ], "issuelinks": [ { "id": "58748", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175500", "key": "TIMOB-28109", "fields": { "summary": "iOS: Top section in grouped ListView disappears when tapping SearchBar or on orientation change", "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": "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": "2020-12-03T18:42:57.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "In iOS 13, in a listview, when you use:\r\n{code:js}\r\nstyle: Ti.UI.iOS.ListViewStyle.GROUPED\r\n{code}\r\nand then use the _headerTitle_ property on a _ListSection_, the spacing between the top of the window and the _ListSection_ is too close. I believe the spacing is incorrectly set on iOS 13. The spacing is set correctly on < iOS 13.\r\n\r\nPlease see screenshot attached.\r\n\r\n*Steps*\r\n# Create new classic app\r\n# Replace app.js with code below. Test with iOS 12 and then iOS 13.\r\n{code:js}\r\nvar win2 = Titanium.UI.createWindow({\r\n backgroundColor: 'lightgray',\r\n title: 'List Section Test'\r\n});\r\n\r\nvar win1 = Titanium.UI.createNavigationWindow({\r\n window: win2\r\n});\r\n\r\nvar listView = Ti.UI.createListView({\r\n style: Ti.UI.iOS.ListViewStyle.GROUPED\r\n});\r\nvar sections = [];\r\n\r\nvar fruitSection = Ti.UI.createListSection({ headerTitle: 'Fruits'});\r\nvar fruitDataSet = [\r\n {properties: { title: 'Apple'}},\r\n {properties: { title: 'Banana'}},\r\n];\r\nfruitSection.setItems(fruitDataSet);\r\nsections.push(fruitSection);\r\n\r\nvar vegSection = Ti.UI.createListSection({ headerTitle: 'Vegetables'});\r\nvar vegDataSet = [\r\n {properties: { title: 'Carrots'}},\r\n {properties: { title: 'Potatoes'}},\r\n];\r\nvegSection.setItems(vegDataSet);\r\nsections.push(vegSection);\r\n\r\nlistView.sections = sections;\r\nwin2.add(listView);\r\nwin1.open();\r\n\r\nvar fishSection = Ti.UI.createListSection({ headerTitle: 'Fish'});\r\nvar fishDataSet = [\r\n {properties: { title: 'Cod'}},\r\n {properties: { title: 'Haddock'}},\r\n];\r\nfishSection.setItems(fishDataSet);\r\nlistView.appendSection(fishSection);\r\n{code}\r\n\r\n", "attachment": [ { "id": "67313", "filename": "Screen Shot 2020-03-24 at 5.14.26 PM.png", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2020-03-24T17:18:04.000+0000", "size": 392541, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Incorrect listSection headerTitle spacing in iOS 13+", "creator": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "454885", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "+1, this is a valid issue.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-03-26T23:17:48.000+0000", "updated": "2020-03-26T23:17:48.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }