Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18165] iOS: Size animation broken

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2019-12-12T18:58:51.000+0000
Affected Version/sRelease 3.5.0
Fix Version/sn/a
ComponentsiOS
Labelsanimation, exalture, height, ios, module_animation, qe-testadded, reprod, view, width
ReporterEric Wieber
AssigneeUnknown
Created2014-12-09T19:13:51.000+0000
Updated2019-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();

Comments

  1. Lee Morris 2017-08-24

    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
  2. Alan Hutton 2019-12-12

    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.

JSON Source