{ "id": "174299", "key": "TIMOB-27504", "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": [ { "id": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-03-12T19:43:25.000+0000", "created": "2019-10-25T17:43:53.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-03-12T19:43:25.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "On Android, the {{touchFeedback}} property aka ripple does not work when tapped from child view. This is a common issue especially for list views, since Titanium now behaves very different to the native default behavior which handles ripple automatically. Please fix this basic issue.\r\n\r\nSee the below code for details. Expected: The ripple color is shown for all touches. Actual: It only applies the ripple when tapped on the view itself. Bubbling does also not work.\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar myTemplate = {\r\n childTemplates: [{\r\n type: 'Ti.UI.Label',\r\n bindId: 'title',\r\n properties: {\r\n left: 20\r\n }\r\n }]\r\n};\r\n\r\nvar list = Ti.UI.createListView({\r\n templates: {\r\n 'template': myTemplate\r\n },\r\n defaultItemTemplate: 'template',\r\n sections: [\r\n Ti.UI.createListSection({\r\n items: [{\r\n properties: {\r\n backgroundColor: '#fff',\r\n touchFeedback: true,\r\n touchFeedbackColor: 'red',\r\n height: 50,\r\n itemId: 'my_cell'\r\n },\r\n title: {\r\n text: 'My Title (click here)',\r\n color: '#000'\r\n }\r\n }]\r\n })\r\n ]\r\n});\r\n\r\nwin.add(list);\r\nwin.open();{code}\r\n\r\n", "attachment": [ { "id": "67088", "filename": "bug.mov", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-10-25T18:17:25.000+0000", "size": 314483, "mimeType": "video/quicktime" } ], "flagged": false, "summary": "Android: touchFeedback / ripple does not work when tapped from child view", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "452270", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel] I am able to reproduce in the emulator or on device configuration below.\r\n\r\nAxway Appcelerator Studio, build: 5.1.4.201909061933 \r\nmacOS : 10.15\r\nNode.js Version : 8.9.1\r\nnpm Version : 5.5.1\r\nAppcelerator CLI : 7.1.1\r\nTitanium CLI\r\nCLI Version : 5.2.1\r\nnode-appc Version : 0.2.49\r\nTitanium SDKs : 8.2.0.GA\r\nPixel 3a Android API 29 (device and emulator)\r\nPixel 3a Android API 28 (emulator)\r\n", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-25T18:12:48.000+0000", "updated": "2019-10-25T18:33:54.000+0000" }, { "id": "452271", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Alan (I cannot link others anymore btw): I attached an example video of the issue. If you click on the label, it does not apply the ripple. If you click on the free area around the label, it does. Tested on 8.2.0 as well as latest master.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-10-25T18:18:27.000+0000", "updated": "2019-10-25T18:18:27.000+0000" }, { "id": "452272", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel] Updated my finding. Clicked not exactly on the right area apparently, and touch overlapped. Thanks for the clarification.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-25T18:35:58.000+0000", "updated": "2019-10-25T18:35:58.000+0000" }, { "id": "458157", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/12440", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-04T16:09:00.000+0000", "updated": "2021-02-04T16:09:00.000+0000" }, { "id": "458395", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins build.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-03-12T15:04:39.000+0000", "updated": "2021-03-12T15:04:39.000+0000" }, { "id": "458403", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master, cherry-picked to 10_0_X for 10.0.0 target", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2021-03-12T19:43:18.000+0000", "updated": "2021-03-12T19:43:18.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }