{ "id": "86161", "key": "AC-2818", "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": "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": "2012-03-25T08:36:13.000+0000", "created": "2012-02-07T07:29:53.000+0000", "labels": [ "ios", "searchbar", "tableview" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:47:44.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "h2. Problem\r\nI have a tableView with a row, header, and index. I've attached focus/blur events to the searchBar, to hide/show the navBar. When the searchBar is focused the first header from the tableView is shown above the black fade.\r\n\r\nh2. Expected Behavior\r\nThe header should be below the black fade.\r\n\r\nh2. Test case\r\n\r\n{code:lang=javascript|title=app.js}\r\nvar win = Titanium.UI.createWindow();\r\nwin.open({\r\n\tmodal: true,\r\n\tanimated: false\r\n});\r\n\r\nvar searchBar = Ti.UI.createSearchBar();\r\n\r\nsearchBar.addEventListener('focus', function() {\r\n\twin.hideNavBar();\r\n});\r\n\r\nsearchBar.addEventListener('blur', function() {\r\n\twin.showNavBar();\r\n});\r\n\r\nvar table = Ti.UI.createTableView({\r\n\tsearch: searchBar,\r\n\tdata: [{\"header\": \"A\", \"title\": \"A\"}],\r\n\tindex: [{\"index\": 0, \"title\": \"A\"}]\r\n});\r\n\r\nwin.add(table);\r\n{code}", "attachment": [ { "id": "25641", "filename": "Screen Shot 2012-02-07 at 16.25.10.png", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2012-02-07T07:29:53.000+0000", "size": 129337, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS - The first tableView header is visible in searchBar focus if you hide the navBar", "creator": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "subtasks": [], "reporter": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "environment": "Titanium SDK 1.8.1\r\niOS 5\r\nMac OS X 10.7.3\r\nTitanium Studio 1.0.8.201201262211", "comment": { "comments": [ { "id": "188504", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is resolved in 2.0. Please update the SDK and test.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-25T08:35:40.000+0000", "updated": "2012-03-25T08:35:40.000+0000" }, { "id": "188505", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Can't reproduce with the latest CI build.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-25T08:36:13.000+0000", "updated": "2012-03-25T08:36:13.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }