[TIMOB-28167] Android: ListViewItem does not activate ripple effect from child views
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | Release 9.3.0 |
Components | Android |
Labels | n/a |
Reporter | Gary Mathews |
Assignee | Gary Mathews |
Created | 2020-10-05T01:45:54.000+0000 |
Updated | 2020-11-20T00:24:34.000+0000 |
Description
- Pressing on a child view within
ListViewItem
does not active the row ripple effect.
*TEST*
const win = Ti.UI.createWindow({ backgroundColor: 'gray' });
const listView = Ti.UI.createListView({
templates: {
template: {
properties: {
backgroundColor: 'blue',
height: 80
},
childTemplates: [
{
type: 'Ti.UI.Label',
bindId: 'label',
properties: {
text: 'Pressing this should activate ripple',
textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER,
backgroundColor: 'red',
width: '80%',
height: '80%'
}
}
]
}
},
defaultItemTemplate: 'template'
});
listView.sections = [
Ti.UI.createListSection({ items: [ {} ] })
];
win.add(listView);
win.open();
*EXPECTED*
- ListViewItem
shows ripple effect anywhere the row is tapped, including child views.
*ACTUAL*
- ListViewItem
does not display ripple effect when child view is tapped.
master: https://github.com/appcelerator/titanium_mobile/pull/12029