{ "id": "97704", "key": "TIMOB-10053", "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": "2012-07-20T02:08:05.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "qe-ios070112", "reprod" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:27.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": "When taped on the view placed inside a tableviewrow, background behind the view is shown for a moment after click event is over.\r\n\r\nThis is not a regression. The issue occurs as far as 1.8.2\r\n\r\nSteps to Reproduce:\r\n1. Create an application with code below and launch the app on iOS device\r\n2. Click on the red block which is the first row of tableview\r\n\r\nActual: After click over, the background behind the red block (view) is shown for moment, giving it a flickering effect\r\n\r\nExpected: The background behind the view should not be shown\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\nvar row = Titanium.UI.createTableViewRow();\r\nvar view = Titanium.UI.createView({\r\n\tbackgroundColor : 'red',\r\n\theight : 50\r\n});\r\nrow.height = 'auto';\r\nrow.add(view);\r\n\r\nvar data = [row];\r\nvar table = Titanium.UI.createTableView({\r\n\tdata : data\r\n});\r\nwin.add(table);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: TableViewRow: White background shown momentarily when tapped on view in a tableviewrow", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.1.201207171343\r\nTitanium SDK: 2.1.1.v20120718121609\r\nDevice: iPhone 4s(v5.1)", "comment": { "comments": [ { "id": "244266", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2 \niOS iPhone Simulator: iOS SDK version: 6.0\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-27T08:51:45.000+0000", "updated": "2013-03-27T08:51:45.000+0000" }, { "id": "297780", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~ssekhri], correct me if I'm wrong:\n\nSetting the selectionStyle as NONE in the TableViewRow will have no distinct style for when it is selected. \n\n{quote}\nvar row = Titanium.UI.createTableViewRow({\n\tselectionStyle: Ti.UI.iPhone.TableViewCellSelectionStyle.NONE\n});\n{quote}\n\nCan you please verify if you still get the flickering and it isn't just native behaviour? \n\nh6.iOS docs\nhttps://developer.apple.com/library/ios/documentation/uikit/reference/UITableViewCell_Class/Reference/Reference.html#//apple_ref/c/tdef/UITableViewCellSelectionStyle\n", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-18T22:49:07.000+0000", "updated": "2014-03-18T22:49:07.000+0000" }, { "id": "420388", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I have been able to reproduce this issue with the following environment; \r\niPhone 7 (10.2) \r\nMacOS 10.11.6 (15G31) \r\nStudio 4.9.0.201705021158 \r\nTi SDK 6.1.0.v20170524131825\r\nAppc NPM 4.2.9 \r\nAppc CLI 6.2.1 \r\nTi CLI 5.0.13 \r\nAlloy 1.9.11 \r\nArrow 2.0.0 \r\nXcode 8.2 (8C38) \r\nNode v4.8.2 \r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-24T22:01:17.000+0000", "updated": "2017-05-24T22:01:17.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }