Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6652] iOS: TextArea with no color is not focusable

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-02-01T12:50:37.000+0000
Affected Version/sRelease 1.7.5
Fix Version/sSprint 2011-51, Release 2.0.0, Release 1.8.1
ComponentsiOS
Labelsmodule_textfield, parity, qe-testadded
ReporterArthur Evans
AssigneeSabil Rahim
Created2011-12-13T17:56:28.000+0000
Updated2012-03-04T22:04:50.000+0000

Description

In the following code excerpt, the text area is not focusable. If the // color: 'black' line is uncommented, the text area works as expected.
    var win1 = Titanium.UI.createWindow({  
        title:'TextArea Test',
        backgroundColor:'#fff'
    });

    var textarea = Titanium.UI.createTextArea({
    	color: 'black',
	hintText : 'Focus to see keyboard w/ toolbar',
	height : 120,
	width : 300,
	top : 10,
    });

    win1.add(textarea);
    win1.open();

Comments

  1. Arthur Evans 2011-12-13

    Note that this is not a regression. Occurs in 1.7.5.
  2. Blain Hamon 2011-12-13

    Aha. This is because we don't force a load of textarea on a resize. Technically speaking, color, or almost any other text-specific property will suffice. Still, d'oh.
  3. Michael Pettiford 2012-01-12

    Closing issue Tested with Ti Studio 1.0.8.201201101928 Ti Mob SDK 1.9.0.v20120111233134 OSX Lion iPhone 4S, iPad 2 Expected result of text area being focused is shown
  4. Natalie Huynh 2012-02-01

    open to update label

JSON Source