[TIMOB-11287] iOS: Label blinks momentarily when changing text if the label position is not specified
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-02-11T21:56:43.000+0000 |
Affected Version/s | Release 2.1.2, Release 2.1.3, Release 3.1.0 |
Fix Version/s | Release 3.2.0 |
Components | iOS |
Labels | label, qe-closed-3.2.2, qe-testadded, supportTeam |
Reporter | Nikhil Sharma |
Assignee | Ingo Muschenetz |
Created | 2012-10-06T01:00:56.000+0000 |
Updated | 2014-06-19T12:44:30.000+0000 |
Description
When you change the text of the label it blinks a bit. It doesn't change smoothly.
Repo case
1. Run the below code in your app.js 2. Click on the text of the label and you can see it.
var win = Ti.UI.createWindow({
backgroundColor : 'red'
});
var self = Ti.UI.createView();
var label = Ti.UI.createLabel({
text : "Small"
});
self.add(label);
label.addEventListener("click", function(e) {
label.text = label.text == "Small" ? "Much longer" : "Small";
});
win.add(self);
win.open();
the problem exist with release 3.1.0, It doesn't change smoothly. Titanium Studio, build: 3.0.2.201302191606 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.0
This issue can't be reproduced with TISDK 3.2 or higher. Therefore, marking it as resolved.
Issue is not reproducible anymore using below environment so closing as fixed Environment: Appc Studio: 3.2.2.201402280732 Sdk: 3.2.2.v20140221161255 and 3.2.1.GA acs: 1.0.14 npm: 1.3.2 alloy:1.3.1 titanium:3.2.1 titanium-code-processor:1.1.0 Xcode: 5.1-beta5 Osx: Maverick(10.9.2) Device: iPhone 5S (iOS 7.1)