Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28236] iOS: TableViewRow does not activate ripple effect from child views

GitHub Issuen/a
TypeBug
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2020-11-09T17:27:44.000+0000
Updated2020-11-09T17:28:07.000+0000

Description

- Pressing on a child view within TableViewRow does not active the row ripple effect. *TEST*
const win = Ti.UI.createWindow({ backgroundColor: 'gray' });
const row = Ti.UI.createTableViewRow({
	height: 80,
	backgroundColor: 'blue'
});
const label = Ti.UI.createLabel({
	text: 'Pressing this should activate ripple',
	textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER,
	backgroundColor: 'red',
	width: '80%',
	height: '80%'
});

row.add(label);

const table = Ti.UI.createTableView({
  data: [ row ]
});

win.add(table);
win.open();
*EXPECTED* - TableViewRow shows ripple effect anywhere the row is tapped, including child views. *ACTUAL* - TableViewRow does not display ripple effect when child view is tapped.

Comments

No comments

JSON Source