Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5577] MobileWeb: Event 'dblclick' don't work with Switch on iPhone

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-26T04:33:08.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterMisha Vasko
AssigneeMaxim Negadaylov
Created2011-05-26T00:40:22.000+0000
Updated2017-03-09T20:31:51.000+0000

Description

Event 'dblclick' does not work with Switch on iPhone. When testing in desktop browser everything is good.
var win = Ti.UI.currentWindow;

var swit = Ti.UI.createSwitch({
	top: 10,
	left: 10,
	height: 100,
	width: 100,
	titleOn: 'titOn',
	titleOff: 'titOff',
	title: 'The switch',
	focusable: true,
	backgroundSelectedColor: 'green',
	backgroundColor: 'red'
});

win.add(swit);


swit.addEventListener('dblclick', function(){
	alert('dblclick works');
});

Comments

  1. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source