Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-820] textarea height is not being respected (iPad)

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:20.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.3.0
ComponentsiOS
Labelsn/a
ReporterNolan Wright
Assigneebfreedman (at appcelerator)
Created2011-04-15T02:37:10.000+0000
Updated2011-04-17T01:54:20.000+0000

Description

from ticket:

http://helpdesk.appcelerator.net/tickets/2126">http://helpdesk.appcelerator.net/tickets/2126

the text area looks correct but as you type into it (with multiple rows of text) the text disappears upward into the textarea. here's a reproducible test case:

var win = Titanium.UI.createWindow();

var ta1 = Titanium.UI.createTextArea({

value:'I am a textarea',
height:200,
width:300,
top:60,
font:{fontSize:20,fontFamily:'Marker Felt', fontWeight:'bold'},
color:'#888',
textAlign:'left',
appearance:Titanium.UI.KEYBOARD_APPEARANCE_ALERT,   
keyboardType:Titanium.UI.KEYBOARD_NUMBERS_PUNCTUATION,
returnKeyType:Titanium.UI.RETURNKEY_EMERGENCY_CALL,
borderWidth:2,
borderColor:'#bbb',
borderRadius:5,
suppressReturn:false

}); win.add(ta1);
win.open();

Comments

  1. Jeff Haynie 2011-04-15

    (from [a819ed67569afff8c3dffdb8631c86ad22ef6ee8]) Closes #820 . For some reason SetView positionRect wasn't doing the job on the iPad. Since this happens within a view, setFrame should work fine. http://github.com/appcelerator/titanium_mobile/commit/a819ed67569afff8c3dffdb8631c86ad22ef6ee8"> http://github.com/appcelerator/titanium_mobile/commit/a819ed67569af...

JSON Source