Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1931] Android: Switch not clickable

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:57:34.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, defect, switch
ReporterMatthew Lieder
AssigneeDon Thorp
Created2011-04-15T03:05:57.000+0000
Updated2011-04-17T01:57:34.000+0000

Description

Titanium SDK version: 1.4.2 (09/27/10 10:22 30a188)
Android SDK: 2.1 APIs

In my app or even KitchenSink, when clicking on a switch nothing happens (visually or programmatically). Only when I do the following to it does it begin working properly:

mySwitch.addEventListener('click', function() {});

Comments

  1. Don Thorp 2011-04-15

    (from [d074f62eaf9b76a99f7bf6684dfb8e918f4aad42]) [#951 state:fixed-in-qa][#1931 state:fixed-in-qa][#1934 state:fixed-in-qa][#1937 state:fixed-in-qa][#1939 state:fixed-in-qa][#1940 state:fixed-in-qa] Fixing regression where keying off of presence of 'click' handler broke the expectation that views are touchable by default. Added support for touchEnabled. If touchEnabled is false, click proceeds through all views until one that handles click and is located under the touch point is found. Several of these defects were side-effects attributable to clickability. http://github.com/appcelerator/titanium_mobile/commit/d074f62eaf9b76a99f7bf6684dfb8e918f4aad42"> http://github.com/appcelerator/titanium_mobile/commit/d074f62eaf9b7...

  2. Thomas Huelbert 2011-04-15

    1.4.2.4ce7ff G1 running 1.6, 2.2 simulator

JSON Source