description
In Mobile Web, the ScrollView does not resize properly when taking the device from portrait to landscape.
Steps:
1. Open Project
2. Run using Mobile Web Preview in Browser
3. With iOS Simulator, view the build in Safari
4. In the UI, just a view will show in Portrait.
5. Rotate the iOS Simulator Right.
6. Problem appears, view is not re-positioned or centered.
Test case
var win = Ti.UI.createWindow({
backgroundColor : 'white',
title : 'ScrollView Demo'
});
var scrollView = Ti.UI.createScrollView({
showVerticalScrollIndicator : true,
showHorizontalScrollIndicator : true,
height : '80%',
width : '80%'
});
var view = Ti.UI.createView({
backgroundColor : '#336699',
borderRadius : 10,
top : 10,
height : 500,
width : Ti.UI.FILL
});
var view2 = Ti.UI.createView({
width : 100,
height : 100,
backgroundColor : 'red'
});
view.add(view2);
scrollView.add(view);
win.add(scrollView);
win.open();
Thanks
Marking ticket as "Won't Fix" as MobileWeb has been deprecated.
Closing as will not fix.