Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18070] iOS: scrollableView page controls are out of screen

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNot Our Bug
Resolution Date2014-12-09T17:40:14.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterMarco Cota
AssigneeIngo Muschenetz
Created2014-11-21T15:59:47.000+0000
Updated2017-03-16T22:56:46.000+0000

Description

Issue

When we create a scrollableView that includes a large number of views the page controls are created in a single line causing some of the controls to be outside the window width and user cant follow which view index is currently being displayed.

Steps to repro

1. Run test code on an iPhone 5 simulator/device 2. Swipe the views in the scrollableView Expected Result User will be able to follow the current view with the controls Actual Result User won't see the total controls as some are not rendered in screen

Test Code

var win = Ti.UI.createWindow();

var view1 = [];

for (var i = 0; i < 30; i++) {
	var view2 = Ti.UI.createView({
		backgroundColor : '#246'
	});
	view1.push(view2);
};
var scrollableView = Ti.UI.createScrollableView({
	views : view1,
	showPagingControl : true
});

win.add(scrollableView);

win.open();

Attachments

FileDateSize
PageControl.zip2014-12-09T16:33:43.000+0000191517

Comments

  1. Marco Cota 2014-12-09

    After running a native test the behaviour is the same using the official Page Control sample app from Apple https://developer.apple.com/library/ios/samplecode/PageControl/Introduction/Intro.html
  2. Ingo Muschenetz 2014-12-09

    Resolving as "Not Our Bug" based on comments.
  3. Lee Morris 2017-03-16

    Closing ticket as this issue is not our bug.

JSON Source