[TIMOB-8024] Android: TextArea: return event not fired
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-04-05T09:39:57.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Release 2.0.0, Sprint 2012-06 |
Components | Android |
Labels | module_textarea, qe-testadded, regression |
Reporter | Dustin Hyde |
Assignee | Hieu Pham |
Created | 2012-03-14T16:44:33.000+0000 |
Updated | 2012-04-05T09:39:57.000+0000 |
Description
TextArea return event fails to fire. Works on iOS. Works in 1.8.2. Regression.
Steps to Reproduce:
1. Run code, press 'return' on keyboard (focus keyboard if necessary).
var win = Ti.UI.createWindow({
backgroundColor:'blue'
});
var textArea = Ti.UI.createTextArea({
value:'TextArea',
top:'20%',
height:'30%',
left:'10%',
right:'10%'
});
textArea.addEventListener('return',function(){
alert('return event fired');
});
win.add(textArea);
win.open();
Expected Result:
Return event should fire, alert box appears.
Actual Result:
No event fired.
Closing bug. Text area return event is being fired properly. Verified fix on: SDK build: 2.0.0.v20120319003254 Titanium Studio, build: 2.0.0.201203182248 Device: GSlate 3.1, Galaxy Nexus 4.0.2
Reopening/closing to add/remove labels