[TIMOB-18165] iOS: Size animation broken
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2019-12-12T18:58:51.000+0000 |
Affected Version/s | Release 3.5.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | animation, exalture, height, ios, module_animation, qe-testadded, reprod, view, width |
Reporter | Eric Wieber |
Assignee | Unknown |
Created | 2014-12-09T19:13:51.000+0000 |
Updated | 2019-12-12T18:58:51.000+0000 |
Description
Animations affecting size are not functioning properly on iOS.
This looks like a parity issue as it works as expected on Android.
*Steps to reproduce issue*:
1. Use below code to create project
2. Launch the project
3. Witness that the grey bar is not filled with the green bar
*Expected Result*:
The green bar animates to fill the grey bar
*Notes*:
This works as expected on Android.
This is also not functioning properly on iOS with 3.4.1.GA
var win = Ti.UI.createWindow({
backgroundColor:'blue',
modal:false
});
var holder = Ti.UI.createView({
width:200,
height:30,
backgroundColor:'gray'
})
var progress = Ti.UI.createView({
left:0,
top:0,
bottom:0,
width:'0%',
backgroundColor:'green'
})
holder.add(progress);
win.add(holder);
var value = 0
setInterval(function (){
value = (value + 10) % 100
progress.animate({
width:(value + '%'), duration:100
})
}, 1000)
win.open();
I am can still reproduce this issue with the following environment; iPhone 6 (10.3) Studio 4.9.1.201707200100 Ti SDK 6.1.2 GA Appc CLI 6.2.3 Ti CLI 5.0.14 Alloy 1.9.13 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131
Closing issue as “Cannot Reproduce. We have tested the code provided, and found that it is out of date with our current release (8.3.0.GA as of the date of closure), and out of date with mobile OS versions. Updating/Creating code may not reproduce the issue reported, or be a valid test case. If community members feel that the issue is still valid, please add a comment, and include code that demonstrates/reproduces the issue.