{ "id": "92652", "key": "TIMOB-9337", "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": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-06-01T12:03:21.000+0000", "created": "2012-06-01T04:30:43.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "EMC", "ios", "support" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-14T21:59:14.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": "*Description*\r\n\r\nIn a table view search bar, after searching for a table row, clicking on the result will immediately close the search.\r\n\r\n*Sample Code*\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white',\r\n title: 'Test tab'\r\n});\r\n\r\nvar search = Titanium.UI.createSearchBar({\r\n barColor:'#000', \r\n showCancel:true,\r\n height:43,\r\n top:0\r\n});\r\n\r\nvar tableData = [ {title: 'Apples'}, {title: 'Bananas'}, {title: 'Carrots'}, {title: 'Potatoes'} ];\r\n\r\n\r\nvar table = Ti.UI.createTableView({\r\n data: tableData,\r\n search: search\r\n});\r\n\r\nwin.add(table);\r\n\r\nwin.open();\r\n\r\n{code}\r\n\r\n*Steps to Reproduce*\r\n\r\n1. Search \"apples\".\r\n2. Click on search result row.\r\n3. Search will close.\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: Clicking on table view search result row closes the search.", "creator": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS ", "comment": { "comments": [ { "id": "196876", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Set hideSearchOnSelection to false on tableView\r\n{code}\r\nvar table = Ti.UI.createTableView({\r\n data: tableData,\r\n search: search,\r\n hideSearchOnSelection:false\r\n});\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-01T12:03:21.000+0000", "updated": "2012-06-01T12:03:21.000+0000" }, { "id": "412364", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-14T21:59:14.000+0000", "updated": "2017-03-14T21:59:14.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }