Problem description
ScrollView does not scroll if Window layout is vertical and ScrollView height is set to Ti.UI.SIZE
Steps to reproduce
Use the following code:
var win = Titanium.UI.createWindow({
layout:'vertical',
backgroundColor: 'white'
});
var scrollView = Titanium.UI.createScrollView({
contentWidth:'auto',
contentHeight:'auto',
top:0,
height: Ti.UI.SIZE
});
var label = Ti.UI.createLabel({
color: 'black',
text: 'Ciao',
top: 1000
});
scrollView.add(label);
win.add(scrollView);
win.open();
If you remove either layout:'vertical' from the Window, or height:Ti.UI.SIZE from the ScrollView it scrolls fine. Either combination works fine in Android.
Reproduced in the file scroll_views_basic.js in Kitchen Sink 3.0.2
I am unable to reproduce this issue with the following environment; iPhone 6 (10.0) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131