Problem Description
in the ScrollableView, the dots show and lights correctly but NOT if it's selected the last view. In this case the last dot lights but then returns to the previous one.
Steps to reproduce
1. Create new mobile project
2. Add this code to app.js:
var win = Ti.UI.createWindow({backgroundColor:'white',});
var matchView = Ti.UI.createView({
layout:'vertical',
backgroundColor:'red',
});
var voteView = Ti.UI.createView({
layout:'vertical',
backgroundColor:'blue'
});
var tacticsView = Ti.UI.createView({
layout:'vertical',
backgroundColor:'yellow',
});
var cont = Ti.UI.createScrollableView({
top:'3%',
bottom:'3%',
right:'3%',
left:'3%',
borderRadius:8,
backgroundColor:'white',
views:[matchView,voteView,tacticsView],
showPagingControl:true
});
win.add(cont);
win.open();
3. Scroll to the right, and when yuou reach to the last view in the scrollableview, the pager will show the previous one, even if the view is the right one.
Extra info
http://developer.appcelerator.com/question/150306/pagingcontrol-dots-behave-uncorrectly
Unable to reproduce in simulator or on iPhone 5 6.1 with the following configuration: Mac OS 10.8.3 SDK: 3.1.0.v20130402092426 Appcelerator Studio, build: 3.1.0.201303312320 CLI 3.1.0-beta node-appc 1.0.29-beta
Verified fail behavior with simulator and on iPhone 5 6.1 with the following configuration: Mac OS 10.8.3 SDK: 3.0.2.GA Appcelerator Studio, build: 3.1.0.201303312320 CLI 3.1.0-beta node-appc 1.0.29-beta
Based on Eric's description, marking as fixed in 3.1.0
Tested with: SDK: 3.1.0.v20130405170202 Studio:3.1.0.201304011603 Device: iPhone5(v 6.0) OS: OSX 10.7.5 Works as expected.