Given the following app.js:
var win = Ti.UI.createWindow({ backgroundColor: '#fff' }); var textArea = Ti.UI.createTextArea({ width: '100%', height: 30, suppressReturn: false, scrollable: false, backgroundColor: '#ddd', font: {fontSize: 15} }); win.add(textArea); win.open();Tapping the TextArea, hitting return, and tapping the TextArea again results in the following error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'The index 1 is invalid'This problem only seems to reproducible when the height of the TextArea is such that the new line created by hitting return is completely outside the visible bounds of the component.
If nobody has any clues, I'll go ahead and create a community ticket. This is in a classic mobile project I'm testing on my iPod touch running iOS 7.0.4, using the 3.2.0GA SDK.