[TIMOB-3327] iOS: 1.7 CI Build Textfield Focus / Blur events are not firing.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T02:01:28.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-11 |
Components | iOS |
Labels | 1.7, ios, quickstart, regression |
Reporter | Rick Blalock |
Assignee | Ralf Pfeiffer |
Created | 2011-04-15T03:42:11.000+0000 |
Updated | 2011-04-17T02:01:28.000+0000 |
Description
In the current CI Build from today (March 11th) Textfield
focus/blur events are not firing at all. Tested on in the iPad sim
with iOS 4.3 and 4.2.
var win = Ti.UI.currentWindow;
var input = Ti.UI.createTextField({
color: '#336699',
height: 35,
top: 10,
left: 10,
width: 250,
borderStyle: Titanium.UI.INPUT_BORDERSTYLE_ROUNDED
});
input.addEventListener('blur', function() {
alert('This blurred');
});
input.addEventListener('focus', function() {
alert('This Focused');
});
win.add(input);
The above code works in 1.6
The cure were worse than the disease, as this was a result of an attempt of #3280 among others. The merge was undone, and so this regression won't happen.
Reopen, tested on wrong build
Tested with Titanium SDK version: 1.7.0 (03/18/11 12:00 19be393) on
Simulator 4.1
iPhone4 4.3
Emulator 2.1