[TIMOB-11452] MobileWeb: Cannot animate element's bottom, right, or center properties
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-06-26T22:23:17.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2012-10-13T02:56:18.000+0000 |
Updated | 2018-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.
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?
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.
Resolving as "Won't Fix" as MobileWeb has been deprecated.
Closing as will not fix.