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

MobileWeb: Ti.UI.Animation.autoreverse does not fully returns view to initial state

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: MobileWeb
    • Labels:
    • Environment:

      mobilesdk 3.0.2.v20130207164659 (win32)

      Description

      Steps to reproduce:
      1) Open project from attachment
      2) Run it
      3) Click on green box. It will start animating - from green to red and fully transparent.
      4) When animated box will be almost transparent click on it once again.
      5) Wait for all animations completed.

      Expected result:
      Green box should return to it's original state

      Actual result:
      Green box is semitransparent (depends on moment when you clicked second time)

      Extras:
      You can watch attached video that demonstrates bug.

      General code:

      var view1 = Ti.UI.createView({
      		    backgroundColor:'green',
      		    opacity:'1',
      		    width:100,
      		    height:100
      		});
      		
      		view1.addEventListener('click', function() {
      		    view1.animate({
      		        autoreverse:true,
      		        duration: 3000,
      		        repeat:2,
      		        opacity:'0',
      		        backgroundColor:'red'
      		    })
      		});
      

        Attachments

        1. autoreverseAnimationBug.mp4
          703 kB
          Stanislav Fedorenko

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              stanislav fedorenko (gl) Stanislav Fedorenko
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration