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

Android: ScrollableView.setCurrentPage() fires "scrollend" event when it shouldn't

    Details

    • Story Points:
      5
    • Sprint:
      2018 Sprint 05 SDK, 2018 Sprint 04 SDK

      Description

      The setCurrentPage method for Ti.UI.ScrollableView fires the 'dragend' & 'scrollend' events upon completion.

      According to the docs:

      scrollend: Fired when the view has stopped moving completely.
      dragend: Fired when the scrolling drag gesture on the view has been completed.

      If setCurrentPage is called programmatically, the 'dragend' event is incorrect as no drag gesture has been occurred.

      If setCurrentPage is called programmatically and without animation, the 'scrollend' event is incorrect as no movement has occurred.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                lsdriscoll Lee Driscoll
                Reviewer:
                Gary Mathews
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code