Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-9510

Android: ScrollableView: Scroll Arrow shown on View is in incorrect direction when app is launched with last view as starting view

    Details

      Description

      The scroll arrows shown on scrollable views is shown in incorrect direction on launch, when the app is launched which has the last view (of the scrollable view) as the starting view.

      Regression. This does not occur on 2.0.2

      Steps to Reproduce:
      1. Create an application with the code below
      2. Launch the application
      3. The blue view (which is the second view out of two views) is shown to start off

      Actual: A Scroll arrow is shown for few seconds in the right direction of the view, indicating next view in sequence. (Refer to attached screenshot)

      Expected: The Scroll arrow should be in the left direction

      var win = Ti.UI.createWindow({
      	backgroundColor:'white'
      });
      var view1 = Ti.UI.createView(
      		{
      			backgroundColor:'red'
      		});
      		var view2 = Ti.UI.createView(
      		{
      			backgroundColor:'blue'
      		});
      		var scrollView = Titanium.UI.createScrollableView(
      		{
      			views:[view1,view2],
      			showPagingControl:true,
      			pagingControlHeight:30,
      			maxZoomScale:2.0,
      			currentPage:1,
      			height:340
      		});
      		var view = Ti.UI.createView(
      		{
      		});
      		view.add(scrollView);
      		
      		win.add(view);
      		win.fullscreen = true;
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              ssekhri Satyam Sekhri
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-13668
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration