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

TiAPI: convertPointToView() ignores "contentOffset" in ScrollView

    Details

    • Story Points:
      5
    • Sprint:
      2021 Sprint 6, 2021 Sprint 7, 2021 Sprint 8, 2021 Sprint 9

      Description

      Summary:
      When calling convertPointToView() where the "destinationView" argument is a ScrollView, the contentOffset should be applied. Supporting this would make it easier to scroll to a child view within the scroll view.

      Steps to reproduce:

      1. Build and run ScrollViewOffsetVerticalTest.js for Android or iOS.
      2. Tap on the "Navigate" button in the bottom right corner.
      3. Select "Blue View" in the dialog.
      4. Notice that the top of the blue view is scrolled to the top of the scroll view. (This is good.)
      5. Tap on the "Navigate" button and select "Blue View" again.
      6. Notice you are scrolled somewhere else. (This is bad. It should not have scrolled at all.)

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              jquick Joshua Quick
              Reviewer:
              Vijay Singh
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration