[TIMOB-4312] iOS: disableBounce for scrollableView
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-11-22T11:30:49.000+0000 |
Affected Version/s | Release 1.7.0 |
Fix Version/s | Sprint 2011-22, Release 1.8.0 |
Components | iOS |
Labels | module_scrollableview, qe-testadded |
Reporter | Jon Alter |
Assignee | Reggie Seagraves |
Created | 2011-06-03T13:22:43.000+0000 |
Updated | 2011-11-22T11:30:58.000+0000 |
Description
Would like to be able to disable bounce for a ScrollableView. In the example below, disableBounce has no affect.
var win = Ti.UI.createWindow({
backgroundColor: 'white'
});
var view1 = Titanium.UI.createView({backgroundColor:'#f00'});
var view2 = Titanium.UI.createView({backgroundColor:'#0f0'});
var view3 = Titanium.UI.createView({backgroundColor:'#00f'});
var scrollView = Titanium.UI.createScrollableView({
views:[view1,view2,view3],
showPagingControl:true,
disableBounce: true
});
win.add(scrollView);
win.open();
Tested with Ti Studio 1.0.7.201111182325 Ti Mob SDK 1.8.0.1.v20111121090256 iPhone 4S OS 5.0, iPad 2 OS 4.3.5 Expected behavior of setting disable bounce to true disables bounce