[TIMOB-16859] Android: View inside ScrollView does not scroll horizontally when horizontalWrap property is set as true
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2014-08-08T13:33:01.000+0000 |
Affected Version/s | Release 3.2.3 |
Fix Version/s | n/a |
Components | Android |
Labels | parity, qe-3.2.3 |
Reporter | Priya Agarwal |
Assignee | Ingo Muschenetz |
Created | 2014-04-17T11:23:54.000+0000 |
Updated | 2017-03-21T21:41:17.000+0000 |
Description
View inside ScrollView does not scroll horizontally when horizontalWrap property is set as true.
Step to reproduce:
1.Copy Paste below code in app.js
2. Run the app.
Actual Result:
ScrollView does not scroll horizontally.
Expected Result:
ScrollView should scroll horizontally.
var win=Ti.UI.createWindow({});
var ScrollView = Ti.UI.createScrollView({
height : 120,
width : Ti.UI.FILL,
contentWidth : 'auto',
backgroundColor : "#a9a9a9",
scrollType : 'horizontal',
layout : 'horizontal',
//horizontalWrap:'false' // Uncommenting this line make scrollView scroll
});
win.add(ScrollView);
for (var i = 0; i < 10; i++) {
var tile = Ti.UI.createView({
backgroundColor : 'red',
top : 10,
height : 100,
left : 10,
width : 90
});
ScrollView.add(tile);
}
win.open();
Note:Its is not a regression.
And it is working fine on iOS.Verified with Iphone5(v7.1)
cannot reproduce Titanium Studio, build: 3.3.0.201407100905 Titanium SDK version 3.3.0.GA CLI version 3.3.0, device: HTC Desire X (HT35XLY01791) Targeting Android SDK: 20
Closing ticket as the issue cannot be reproduced and due to the above comments.