Transition with lerp effect

I have a rectangle with a width of 0, and I want to make it 300 over 3 seconds using transition:

transition.to( rect, {width=300, time=3000, transition=easing.linear} )

The problem is that it takes longer than 3 seconds to complete the transition, it also starts very fast in gets much slower towards the end, despite having a linear easing.

I don’t noticed problems metioned in your post. My code:

local rect = display.newRect( 150, 50, 0, 100 ) transition.to( rect, {delay=1000, width=300, time=3000, transition=easing.linear} )

How do you detect your problems?

Do you have another transition on the same object somewhere?

Ok, false alarm.

A quick restart to Corona simulator fixed the problem

Thanks, guys. 

I don’t noticed problems metioned in your post. My code:

local rect = display.newRect( 150, 50, 0, 100 ) transition.to( rect, {delay=1000, width=300, time=3000, transition=easing.linear} )

How do you detect your problems?

Do you have another transition on the same object somewhere?

Ok, false alarm.

A quick restart to Corona simulator fixed the problem

Thanks, guys.