Details

      Description

      Drag animation not working in 3.1.1, 3.1.2 and 3.1.3 I'm using following code.

      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();
      

      Even I tried KitchenSink animation code that given in basic animation to drag a circle. That even not working properly in 3.1.1, 3.1.3 and 3.1.2.

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              morahman Motiur Rahman
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code