Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19110] iOS: Animation to height '0dp' and back to a greater height fails

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsanimate, animation
ReporterCreative
AssigneeUnknown
Created2015-06-29T09:17:39.000+0000
Updated2018-02-28T19:55:14.000+0000

Description

https://developer.appcelerator.com/question/173546/animation-not-working-on-iphone This post describes the bug perfectly. What happens is that as soon as you animate an object to height 0, it wont allow you to animate back again to a greater height.
object.animate({
  height: '0dp'
});

object.animate({
  height: '200dp'
});
second animation wont play. Ive tried running it in the callback of the 1st, but it has the same result. I tested it on a Ti.UI.View element, but i guess it applies to all

Comments

No comments

JSON Source