Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13143] BlackBerry : Text area not in parity with other platforms

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-06-27T18:54:45.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelssdk-bb
ReporterLokesh Choudhary
AssigneePedro Enrique
Created2013-03-20T22:05:06.000+0000
Updated2017-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

FileDateSize
textarea_1.PNG2013-03-20T22:05:06.000+000031713
textarea_2.PNG2013-03-20T22:05:06.000+000056369

Comments

  1. Pedro Enrique 2013-06-17

    PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/108
  2. Russell McMahon 2013-06-27

    Reject PR as it appears recent layout fixes have addressed this issue and the test passes without PR 108.
  3. Lee Morris 2017-03-13

    Closing ticket as fixed.

JSON Source