Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8024] Android: TextArea: return event not fired

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-04-05T09:39:57.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 2.0.0, Sprint 2012-06
ComponentsAndroid
Labelsmodule_textarea, qe-testadded, regression
ReporterDustin Hyde
AssigneeHieu Pham
Created2012-03-14T16:44:33.000+0000
Updated2012-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.

Comments

  1. Anshu Mittal 2012-03-19

    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
  2. Michael Pettiford 2012-04-05

    Reopening/closing to add/remove labels

JSON Source