Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11452] MobileWeb: Cannot animate element's bottom, right, or center properties

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-06-26T22:23:17.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2012-10-13T02:56:18.000+0000
Updated2018-04-04T23:20:39.000+0000

Description

There's a number of things that are causing this to break. For starters, we simply do not allow bottom, right, and center to be animated. Second, even if we did, we don't query the current bottom, right, or center values properly. The problem is partly solved by tinkering with the layout engine and part with the animation code. We may need to convert all bottom, right, and center animations to height/top or left/width based animations.

Comments

  1. Bryan Hughes 2012-10-13

    This should work. The call to calculateAnimation() is what converts center, bottom, and right to left/top coordinates. The animation engine shouldn't be dealing with any position arguments passed in at all. It should only deal with what is returned from caculateAnimation(). It's probably just a bug in calculateAnimation(). Does this affect all layouts, or just composite?
  2. Chris Barber 2012-10-13

    I've only tested composite layouts. While there may be issues in calculateAnimation(), there definitely are issues in the animation go() function where we simply ignore bottom, right, and center properties.
  3. Lee Morris 2017-06-26

    Resolving as "Won't Fix" as MobileWeb has been deprecated.
  4. Eric Merriman 2018-04-04

    Closing as will not fix.

JSON Source