Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10992] Android: ScrollView - Missing scrollable area on Android

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-12-20T22:07:44.000+0000
Affected Version/sRelease 2.1.3
Fix Version/sn/a
ComponentsAndroid
Labelsqe-and090112, qe-testadded, regression
ReporterTamila Smolich
AssigneeIngo Muschenetz
Created2012-09-19T13:46:36.000+0000
Updated2014-06-19T12:43:06.000+0000

Description

Description: Missing scrollable blue area on Android. This is a regression, does not occur on 2.1.2. Steps to reproduce: 1. Run the following code:
var data = [];
var win = Ti.UI.createWindow({
    backgroundColor: '#fff'
});
 
var row = Ti.UI.createTableViewRow({
            className : 'scrolltab',
            height : 67,
            backgroundColor : '#fff',
            selectionStyle : Ti.UI.iPhone.TableViewCellSelectionStyle.NONE
        });
 
var scrollView = Titanium.UI.createScrollView({
    contentWidth:500,
    contentHeight:50,
    top:10,
    height:50,
    width:230,
    borderRadius:10,
    backgroundColor:'#13386c'
});
row.add(scrollView);
var view1 = Ti.UI.createView({
    backgroundColor:'#336699',
    width:440,
    height:40,
    left:10
});
scrollView.add(view1);
// add a bunch more views to the scrollView 
 
data.push(row);
 
feedTableView = Titanium.UI.createTableView({
    data:data
});
 
win.add(feedTableView);
win.open();
Expected result: Should see scrollable blue area on the top Actual result: Blue area is missing

Comments

  1. Tamila Smolich 2012-12-20

    Looks like fix for another issue solved the problem. Works fine on the latest version of 2.1.3 and 3.0.0. Closing bug as fixed. Tested on: Titanium Studio, build: 3.0.1.201212181159 Titanium SDK, builds: 2.1.3.GA, 3.0.0.GA Devices: Nexus 7 (4.1.2); Nexus S (4.1.1)

JSON Source