[TIMOB-12619] MobileWeb: pagingControlTimeout not working in ScrollableView in mobileweb
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-03-18T18:48:57.000+0000 |
Affected Version/s | Release 3.0.1, Release 3.0.2 |
Fix Version/s | Release 3.1.0, 2013 Sprint 06 JS, 2013 Sprint 06 |
Components | MobileWeb |
Labels | SupportTeam, js |
Reporter | Mauro Parra-Miranda |
Assignee | Bryan Hughes |
Created | 2013-02-07T18:20:24.000+0000 |
Updated | 2014-01-09T23:01:06.000+0000 |
Description
Problem Description
Even if you set pagingControlTimeout to 0, you won't see the pagecontrol until you touch the view for the first time.Code Example
var win = Ti.UI.createWindow({
backgroundColor : 'white',
layout : 'vertical'
});
var view1 = Ti.UI.createView({
backgroundColor : 'red'
});
var view2 = Ti.UI.createView({
backgroundColor : 'black'
});
var scrollableView = Ti.UI.createScrollableView({
views : [view1, view2],
showPagingControl : true,
pagingControlTimeout : 0
});
win.add(scrollableView);
win.open();
PR: https://github.com/appcelerator/titanium_mobile/pull/3967
Tested as described and verified fixed with: Appcelerator Studio, build: 3.2.1.201401081616 Node.JS Version: v0.10.13 NPM Version: 1.3.2 ├── acs@1.0.11 ├── alloy@1.3.1-beta2 ├── npm@1.3.2 ├── titanium@3.2.0 └── titanium-code-processor@1.1.0 Safari 7.0 browser