[TIMOB-820] textarea height is not being respected (iPad)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:20.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.3.0 |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | bfreedman (at appcelerator) |
Created | 2011-04-15T02:37:10.000+0000 |
Updated | 2011-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();
(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...