[TIMOB-13305] MobileWeb: Ti.UI.Animation.autoreverse does not fully returns view to initial state
| GitHub Issue | n/a |
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Won't Fix |
| Resolution Date | 2017-05-01T22:37:14.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | MobileWeb |
| Labels | linvalid |
| Reporter | Stanislav Fedorenko |
| Assignee | Chris Barber |
| Created | 2013-02-13T00:22:48.000+0000 |
| Updated | 2018-04-04T23:20:42.000+0000 |
Description
*Steps to reproduce:*
1) Open project from attachment
2) Run it
3) Click on green box. It will start animating - from green to red and fully transparent.
4) When animated box will be almost transparent click on it once again.
5) Wait for all animations completed.
*Expected result:*
Green box should return to it's original state
*Actual result:*
Green box is semitransparent (depends on moment when you clicked second time)
*Extras:*
You can watch attached video that demonstrates bug.
*General code:*
{noformat}
var view1 = Ti.UI.createView({
backgroundColor:'green',
opacity:'1',
width:100,
height:100
});
view1.addEventListener('click', function() {
view1.animate({
autoreverse:true,
duration: 3000,
repeat:2,
opacity:'0',
backgroundColor:'red'
})
});
{noformat}
Attachments
Resolving ticket as "Won't Fix" as MobileWeb is no longer supported.
Closing as will not fix.