{ "id": "98844", "key": "AC-3101", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-08-23T10:16:31.000+0000", "created": "2012-08-07T22:50:07.000+0000", "labels": [ "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:48:09.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": "I am using search bar functionality with alphabetically scroll into a list.\r\nIt is quit complex to implement But both of the code are separately managed & working very perfectly.\r\n\r\n-What is the Bug?\r\nAs i start the search by entering text into search field it filters the list accordingly & keyboard being opened.\r\nWhen i scrolls the list, the keyboard is getting disappeared as i wrote blur() on scroll event of tableview.\r\nin this case the cancel button goes disabled & user is not able to cancel the search.This is the bug.\r\n\r\nAs i think what it happens, As soon as it gets unfocused the search bar, the cancel button goes disabled.Which is a bug.It doesn't happened in case of native iphone development. (eg. contact list of iphone works perfectly).\r\n\r\nPlease resolve this bug. I am getting late for delivery of my project.\r\nlooking for your reply.", "attachment": [], "flagged": false, "summary": "Cancel button on Search-bar goes disabled if we it blurs.", "creator": { "name": "sureshengg", "key": "sureshengg", "displayName": "Suresh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sureshengg", "key": "sureshengg", "displayName": "Suresh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium 1.7.5\r\niphone 4 & higher.", "comment": { "comments": [ { "id": "213967", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, \r\nPlease download the latest SDK and try to run with it. It might have fixed in it. You can download it from http://builds.appcelerator.com.s3.amazonaws.com/index.html \r\nPlease provide a reproducible sample test case as well. ", "updateAuthor": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-12T21:33:19.000+0000", "updated": "2012-08-12T21:33:19.000+0000" }, { "id": "283177", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe tested this issue but e can’t reproduce it. We used the sample code below with Ti SDK 3.1.3GA. Can you please test this issue using the latest release and let us know your feedback. If we don't hear back from you, we will consider this fixed and the ticket can be closed.\r\n\r\nRegards,\r\n\r\n \r\nh5. Testing Environment:\r\nTi CLI 3.3.0\r\nTitanium SDK: 3.1.3 and later \r\nIOS -Simulator -iPhone Retina 3.5 inch/iOS 7.0.3 \r\n \r\n \r\n \r\n h5. Test Case\r\n {code}\r\n var win1 = Titanium.UI.createWindow({\r\n\ttitle : 'Tab 1',\r\n\tbackgroundColor : '#fff'\r\n});\r\n\r\nvar search = Ti.UI.createSearchBar({\r\n\tshowCancel : true\r\n});\r\n\r\nvar aTableView = Ti.UI.createTableView({\r\n\tsearch : search\r\n});\r\n\r\nvar data = [];\r\n\r\nfor (var i = 0, j = 100; i < j; i++) {\r\n\tdata.push({\r\n\t\ttitle : 'Row ' + i\r\n\t});\r\n};\r\naTableView.setData(data);\r\n\r\naTableView.addEventListener('scroll', function() {\r\n\r\n\tsearch.blur();\r\n\r\n});\r\n\r\naTableView.addEventListener('click', function(e) {\r\n\tif (Ti.Platform.name === 'android') {\r\n\r\n\t\tsearch.value = \"\";\r\n\t\tsearch.hide();\r\n\t\tsearch.show();\r\n\t}\r\n});\r\n\r\nwin1.add(aTableView);\r\nwin1.open();\r\n\r\n{code}\r\n \r\nThanks\r\n", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-09T07:23:33.000+0000", "updated": "2013-12-09T18:45:06.000+0000" }, { "id": "286197", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing since no response from Suresh in a while.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-29T22:16:58.000+0000", "updated": "2013-12-29T22:16:58.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }