Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: Release 3.2.3
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
    • Environment:

      Appc Studio: 3.2.3.201403271839
      Sdk:3.2.3.v20140327115429
      alloy:1.3.1
      titanium:3.2.3-alpha2
      titanium-code-processor:1.1.1-alpha
      Osx: Maverick(10.9.2)
      Device:Nexus7(v4.4)

      Description

      Not a regression since issue occurs in 3.2.2.GA and 3.2.1.GA also
      Steps to reproduce:
      1. Copy paste the below given code in app.js and run the app on android device.
      2. Drag Square on screen

      Expected Result:
      Drag animation should work fine.

      Actual Result:
      No drag animation observed.
      Drag Animation working fine on ios.

      var win = Ti.UI.createWindow({
          backgroundColor : "#fff"
      });
      var annoViewPosition;
      var view = Ti.UI.createView({
          borderWidth : 1,
          borderColor : "#000000",
          left : 0,
          top : 0,
          height: 100,
          width: 100
      });
      win.add(view);
        
      var lbltop;
      var lblleft;
      view.addEventListener('touchstart', function(e) {
              annoLblPosition = {
                  top : e.source.top,
                  left : e.source.left
              };
              lbltop = e.y;
              lblleft = e.x;
      });
        
      view.addEventListener('touchmove', function(e) {
          annoLblPosition.top += e.y - lbltop;
          annoLblPosition.left += e.x - lblleft;
          e.source.animate({
              top : annoLblPosition.top,
              left : annoLblPosition.left,
              duration : 5,
          });
      });
        
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hpham Hieu Pham
                Reporter:
                pagarwal Priya Agarwal
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code