Hi, why imgView disappears after animation instead of remaining?
var win = Ti.UI.createWindow({ layout: 'vertical', navBarHidden: true, width: '100%', height: '100%', backgroundColor: '#fff', }); var view = Ti.UI.createView({ width: '100%', height: '100%', backgroundColor: '#abc', layout: 'vertical', }); var img = Ti.UI.createImageView({ backgroundColor: '#000', width: '20px', height: '20px', }); function move(obj){ obj.animate({ bottom: '0px', duration: 1000, }); }; view.add(img); win.add(view); win.open(); move(img);If I use top property it works but if I use bottom property after moving the object desappears. Thanks for the attention.