Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

iOS - SDK 1.5.0 - Imageview resets to center before animating

The following code works as expected up until about SDK 1.4.3 (continuous build).

However, in the latest few builds of SDK 1.5.0 (tested up until Dec 5 2010 23:34 r4d92d405), the imageView resets to the center before animating to the desired position.


Click one of the "Move…" buttons several times to see what I'm talking about. The is seen on both the simulator and the device.

I have tried using top/left instead of center, but this does not work at all, causing the image to disappear off the screen entirely.

Any workarounds would be appreciated.


— asked December 6th 2010 by Da'oud Rashid

2 Answers

  • I'm seeing it in my continuous build as well - filed a Lighthouse issue to track. Thank you for providing a test case, we'll look at it ASAP.


    — answered December 6th 2010 by Kevin Whinnery
    1 Comment
    • Thanks, Kevin! I look forward to seeing this fixed in a future build.

      — commented December 6th 2010 by Da'oud Rashid
  • Has anyone found a workaround for this issue? Using .top/.bottom/.left/.right instead of center.x/center.y for the animation produced unexpected results for me.

    The bug doesn't seem to have been assigned to anyone, unfortunately, so it doesn't look like this issue will be fixed anytime soon.

    — answered December 15th 2010 by Da'oud Rashid
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.