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

Windows : removeAllChildren() method of ScrollView does not work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 6.1.2
    • Fix Version/s: Release 6.2.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:
    • Story Points:
      5
    • Sprint:
      2017 Sprint 17 SDK, 2017 Sprint 18 SDK

      Description

      Description:

      When removeAllChildren() method of Ti.UI.ScrollView is called, contents of the ScrollView are not cleared in Windows.

      Steps to Replicate:

      1. Run the attached sample Alloy project.
      2. Click anywhere on the screen
      3. Red block will keep adding to the view on every click.

      On ScrollView click event, removeAllChildren method is called on ScrollView and a view with backgroundColor red is added to the ScrollView in index.js. Instead of removing the one that is already in the ScrollView, new View is being added on every click.

      Expected Result:

      removeAllChildren() method should remove all child views of ScrollView container on click event.

        Attachments

        1. index.js
          0.2 kB
        2. index.tss
          0.2 kB
        3. index.xml
          0.1 kB

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                nmishra Neeraj Mishra
                Reviewer:
                Gary Mathews
                Tester:
                Ewan Harris
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code