Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5603] MobileWeb: Incorrect work of property touchEnabled in switch

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-25T06:42:06.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterMisha Vasko
AssigneeMaxim Negadaylov
Created2011-05-25T05:54:11.000+0000
Updated2017-03-09T20:34:03.000+0000

Description

The property touchEnabled setted to value false in switch object. When i make a tap against the switch on iPhone the switch changes its value. In the Kitchensink touchEnabled=false blocks changing the switch by tap.
var win = Ti.UI.currentWindow;

var swit = Ti.UI.createSwitch({
	top: 10,
	left: 10,
	height: 100,
	width: 100,
	titleOn: 'titOn',
	titleOff: 'titOff',
	touchEnabled: false
});

win.add(swit);

Comments

  1. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source