[TIMOB-13143] BlackBerry : Text area not in parity with other platforms
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-27T18:54:45.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Pedro Enrique |
Created | 2013-03-20T22:05:06.000+0000 |
Updated | 2017-03-13T21:02:08.000+0000 |
Description
Description:
1. Use the code snippet below to create an app & run on BB device/simulator
var win = Ti.UI.createWindow({
backgroundColor: 'green'
});
var textArea = Ti.UI.createTextArea({
color: '#888',
font: {fontSize:10, fontWeight:'bold'},
keyboardType: Ti.UI.KEYBOARD_NUMBER_PAD,
returnKeyType: Ti.UI.RETURNKEY_GO,
textAlign: 'left',
value: 'I am a textarea',
top: 60,
width: 200, height : 70
});
win.add(textArea);
win.open();
2.Notice the textarea
Actual Results:
1.In the code we have set the height of the text area at '70' but the text area is quiet smaller around '30'
2.If you keep typing in the text area after it reaches the right end it automatically goes to the next line & the size of the text area increases
3.Notice that the size keeps on increasing as you keep on typing till it reaches size of '70' at which we had set it, after which the text area stops growing.
4.Comparing with other platforms the text area is initially at what height is specified in the code.
Expected Results:
1.The text area should initially be of the height specified in the code & not increase as we type in the text
Attachments
File | Date | Size |
---|---|---|
textarea_1.PNG | 2013-03-20T22:05:06.000+0000 | 31713 |
textarea_2.PNG | 2013-03-20T22:05:06.000+0000 | 56369 |
PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/108
Reject PR as it appears recent layout fixes have addressed this issue and the test passes without PR 108.
Closing ticket as fixed.