Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4312] iOS: disableBounce for scrollableView

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-11-22T11:30:49.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sSprint 2011-22, Release 1.8.0
ComponentsiOS
Labelsmodule_scrollableview, qe-testadded
ReporterJon Alter
AssigneeReggie Seagraves
Created2011-06-03T13:22:43.000+0000
Updated2011-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();

Associated Helpdesk Ticket

http://appc.me/c/APP-929262

Comments

  1. Michael Pettiford 2011-11-21

    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

JSON Source