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

iOS: Paging Control in the ScrollableView is failing to show the current status of the page

    Details

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              mstepanov Max Stepanov
              Reporter:
              mpmiranda Mauro Parra-Miranda
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration