[TIMOB-18410] iOS: ListView checkmarks fly in from top left when view resizes
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2019-12-11T22:14:11.000+0000 |
Affected Version/s | Release 3.5.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | Checkmark, ListView |
Reporter | Fokke Zandbergen |
Assignee | Unknown |
Created | 2015-01-19T13:47:46.000+0000 |
Updated | 2019-12-11T22:14:11.000+0000 |
Description
When a ListView resizes - e.g. because it's in a PopOver that resizes to make room for the soft keyboard - you can see the checkmark accessories fly in from the top left of their rows.
See attached movie.
Steps to reproduce
* Run the following code on an iPad device (or force soft keyboard on Simulator) * Click the button to open the PopOver * Focus the SearchBar to bring the keyboard up so the ListView resizes * See the checkmarks fly in from leftCode to reproduce
var w = Ti.UI.createWindow({
backgroundColor: 'white'
});
var wb = Ti.UI.createButton({
title: 'Click me'
});
wb.addEventListener('click', function() {
var pw = Ti.UI.createWindow({
width: 300,
backgroundColor: 'white'
});
pw.add(Ti.UI.createListView({
searchView: Ti.UI.createSearchBar(),
sections: [Ti.UI.createListSection({
items: (function() {
var items = [];
for (var i = 1; i <= 30; i++) {
items.push({
properties: {
title: 'Row #' + i,
accessoryType: (i < 3) ? Ti.UI.LIST_ACCESSORY_TYPE_CHECKMARK : Ti.UI.LIST_ACCESSORY_TYPE_NONE
}
});
}
return items;
})()
})]
}));
var p = Ti.UI.iPad.createPopover({
contentView: pw
});
p.show({
view: wb
});
});
w.add(wb);
w.open();
Notes
* The number of items has to be more then fits on the screenAttachments
File | Date | Size |
---|---|---|
slide.mov | 2015-01-19T13:47:46.000+0000 | 2111791 |
Closing. Unable to reproduce the issue. Axway Appcelerator Studio, build: 5.1.4.201909061933 macOS : 10.15 Node.js Version : 8.9.1 npm Version : 5.5.1 Appcelerator CLI : 7.1.2 Titanium CLI CLI Version : 5.2.1 node-appc Version : 0.2.49 Titanium SDKs : 8.3.0.GA iPad 9.7-inch 13.2.2