Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13621] iOS: Animation is modifying the size of the view, even if you don't require a scale transformation

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-05-24T23:04:29.000+0000
Affected Version/sRelease 3.1.0
Fix Version/sn/a
ComponentsiOS
LabelsSupportTeam
ReporterMauro Parra-Miranda
AssigneeEric Merriman
Created2013-04-18T22:19:56.000+0000
Updated2017-05-24T23:04:29.000+0000

Description

Problem Description

When you are doing a simple animation (moving a view from one side to the other), you will see that the view will scale to a bigger view, even if you didn't asked for it.

Steps to reproduce.

1. Create a new mobile project 2. Paste this as app.js
var win= Ti.UI.createWindow({backgroundColor:'black'});
var infopanel = Ti.UI.createImageView({
        image:'KS_nav_ui.png',
        top:78,
        left:20,
   });
   
    var a = Ti.UI.createAnimation({
    	top:400,
    	left:300,
    	duration:10000,
    	autoreverse:true,
    });
    
win.open();
win.add(infopanel);
infopanel.animate(a);
3. You will see that at the end of the animation, the view will be a lot bigger that when started.

Extra info

This was originally reported here: http://developer.appcelerator.com/question/151107/image-getting-smaller-with-move-animation#comment-168902

Comments

No comments

JSON Source