Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3327] iOS: 1.7 CI Build Textfield Focus / Blur events are not firing.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T02:01:28.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-11
ComponentsiOS
Labels1.7, ios, quickstart, regression
ReporterRick Blalock
AssigneeRalf Pfeiffer
Created2011-04-15T03:42:11.000+0000
Updated2011-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

Comments

  1. Blain Hamon 2011-04-15

    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.

  2. Natalie Huynh 2011-04-15

    Reopen, tested on wrong build

  3. Natalie Huynh 2011-04-15

    Tested with Titanium SDK version: 1.7.0 (03/18/11 12:00 19be393) on
    Simulator 4.1
    iPhone4 4.3
    Emulator 2.1

JSON Source