[TIMOB-28560] Android: RippleDrawable is applied multiple times
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-10-19T23:04:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 10.2.0 |
Components | Android |
Labels | n/a |
Reporter | Gary Mathews |
Assignee | Gary Mathews |
Created | 2021-10-18T20:58:12.000+0000 |
Updated | 2021-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();
master: https://github.com/appcelerator/titanium_mobile/pull/13131