Issue description
OptionDialog isn't scrolling correctly. This is only reproducible at iPad. iPhone 4 devices does not seem affected.
Steps to reproduce
If you press the button and see the optionsDialog that displays and then try to scroll, you will notice that it looks like 2 lists, one that stays still and the other that actually scrolls (please see screen shoot attached).
Runnable sample
var win = Ti.UI.createWindow({
backgroundColor: 'white'
});
var btn = Ti.UI.createButton({
title: 'here'
});
btn.addEventListener('click', function(){
var optionsArray = new Array;
for (loopCount = 0; loopCount < 150; loopCount++) {
optionsArray[loopCount] = 'Name of the person, item ' + loopCount;
}
var dialog = Ti.UI.createOptionDialog({
title: 'select something...',
options: optionsArray,
cancel: -1,
});
dialog.items = new Object();
dialog.addEventListener('click', function(b) {
});
dialog.show();
});
win.add(btn);
win.open();
Introduced new property opaquebackground. Test Case
Pull pending against master https://github.com/appcelerator/titanium_mobile/pull/5107 Backport to 3_2_X https://github.com/appcelerator/titanium_mobile/pull/5108
Verified fixed on: Mac OSX 10.9 Mavericks Titanium Studio, build: 3.2.0.201312091613 Titanium SDK, build: 3.2.0.v20131210112451 CLI: 3.2.0-cr Alloy: 1.3.0-cr iOS Device: iPhone 5S (7.0) Tested using both code from description and comment. Both work as expected. Closing.