Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1457] iOS: Rotate transform animate flickers to rotate 0 with each turn

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-07-20T13:10:41.000+0000
Affected Version/sRelease 1.5.0
Fix Version/sRelease 2.1.0
ComponentsiOS
Labelsn/a
ReporterAlan Bedian
AssigneeNeeraj Gupta
Created2011-04-15T02:53:22.000+0000
Updated2017-03-07T18:51:53.000+0000

Description

When trying to spin an imageView with controlled degrees on each call without any duration in the animation, the image resets to 0deg before the transform is applied with the animate. More description and example found here:
http://developer.appcelerator.com/question/32961/continuous-rotation"> http://developer.appcelerator.com/question/32961/continuous-rotation and here
http://developer.appcelerator.com/question/10181/multiple-rotates-of-view-with-animation-part-2"> http://developer.appcelerator.com/question/10181/multiple-rotates-o...

A possible solution would be to be able to apply the transform directly on the UI object without having to call animate when you just want it to instantly move without taking the time to do an animation.

Comments

  1. Stephen Tramer 2011-04-15

    Could be an android bug. Requires more research than should be done in the middle of triage.

  2. Vishal Duggal 2012-07-20

    See http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.UI.2DMatrix-method-rotate
  3. Lee Morris 2017-03-07

    Closing ticket due to time passed.

JSON Source