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

Windows: paging in ScrollableView not working

    Details

      Description

      A ScrollableView on Windows acts more like a horizontal ScrollView. There is no paging like on Android and iOS. When you log the currentPage of the ScrollableView, it always returns 0.

      index.xml

      <Alloy>
      	<Window>
      		<ScrollableView id="pageContainer">
      			<View backgroundColor="red" onSingletap="logCurrentPage">
      				<Label>Page 1</Label>
      			</View>
      			<View backgroundColor="orange" onSingletap="logCurrentPage">
      				<Label>Page 2</Label>
      			</View>
      		</ScrollableView>
      	</Window>
      </Alloy>
      

      index.js

      function logCurrentPage() {
      	Ti.API.info($.pageContainer.getCurrentPage());
      }
       
      $.index.open();
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              NLKok Niels Kok
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Source Code