Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9596] iOS: Animation visible param doesn't work as expected

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2013-11-18T22:42:12.000+0000
Affected Version/sRelease 2.0.1
Fix Version/sn/a
ComponentsiOS
Labelstriage
ReporterChris Barber
AssigneeIngo Muschenetz
Created2012-06-17T17:07:52.000+0000
Updated2017-03-20T20:49:32.000+0000

Description

If the element is visible=true and the animation is set to visible=false, then it should perform the animation, then set visible=false on the element. However, it immediately sets the visibility to hidden when the animation starts. If the element is visible=false and the animation is set to visible=true, it immediately displays the element, but doesn't start animating. If you call animate() again on the element, it will properly animate. Based on the verbiage in the docs, it should animate it hidden, then show the element when the animation completes, but this doesn't make sense. If the element is visible=true and the animation is set to visible=true, it works expected. If both are visible=false (which makes no sense), then it should work as expected, but I didn't test it. I have attached my test app that you can use to tweak and resolve.

Attachments

FileDateSize
app.js2012-06-17T17:08:17.000+00001408

Comments

  1. Pascal 2013-11-18

    Same issue. Not sovled for 17/Jun/12 !? Sad.
  2. Vishal Duggal 2013-11-18

    visible is not an animatable parameter
  3. Lee Morris 2017-03-20

    Closing ticket as invalid.

JSON Source