Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28560] Android: RippleDrawable is applied multiple times

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2021-10-19T23:04:23.000+0000
Affected Version/sn/a
Fix Version/sRelease 10.2.0
ComponentsAndroid
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2021-10-18T20:58:12.000+0000
Updated2021-10-19T23:04:23.000+0000

Description

- RippleDrawable can be applied multiple times when a touchFeedback color is set
const window = Ti.UI.createWindow();
const listView = Ti.UI.createListView({
	searchView: Ti.UI.createSearchBar() // Remove the searchView and I work
});
// Comment out the event listener and I work, change me to 'click' and still broke though
window.addEventListener('open', () => {
	const data = []
	for (let i = 0; i < 5; i++) {
		const row = {
			properties: {
				title: Foo ${i},
				color: "#000000",
				backgroundColor: "#FFFFFF",
				height: 50
			}
		}
		const section = Ti.UI.createListSection({
			headerTitle: Test ${i},
			items: [ row ]
		});
		data.push(section);
	}
	listView.sections = data;
});
window.add(listView)
window.open();

Comments

  1. Gary Mathews 2021-10-18

    master: https://github.com/appcelerator/titanium_mobile/pull/13131

JSON Source