Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5626] MobileWeb: Event 'selected' doesn't work with textArea.

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2018-04-04T23:57:42.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterMisha Vasko
AssigneeChris Barber
Created2011-05-24T06:08:32.000+0000
Updated2018-04-05T00:00:03.000+0000

Description

Event 'selected' not works with textArea object. The label should be appear when the text in the textField is selected.
win = Ti.UI.currentWindow;

ta = Ti.UI.createTextArea({
	width: 200,
	height: 100,
	top: 10,
	left: 10,
	value: 'textArea'
})

ta.addEventListener('selected', function(){
	var label = Ti.UI.createLabel({
		text: 'selected works',
		backgroundColor:'red',
		top: 150
	})
	win.add(label);
})
win.add(ta);

Comments

  1. Misha Vasko 2011-06-13

    Bug is still present.
  2. Eric Merriman 2018-04-04

    Closing as will not fix
  3. Eric Merriman 2018-04-05

    Closing as will not fix

JSON Source